|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Filter
The interface for the filter that is used by an event emitter to determine whether or not an event should be sent to the event service.
Emitter
Method Summary | |
---|---|
void |
close()
Causes the filter to release all resources that are owned by this object and its dependents. |
com.ibm.events.ComponentMetaData |
getMetaData()
Obtains the metadata from this filter instance. |
boolean |
isEventEnabled(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent event)
Determines whether or not the passed event matches the configured filtering criteria. |
Method Detail |
---|
boolean isEventEnabled(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent event) throws FilterException
Determines whether or not the passed event matches the configured
filtering criteria. The emitter forwards only events
that return true
from this method.
Implementations of this method must be threadsafe.
event
- The event instance that represents the event to be filtered.
true
if the event matches the filtering criteria and should,
therefore, be passed to the event service by the emitter; false
otherwise.
FilterException
- If an error occurs during filter processing.com.ibm.events.ComponentMetaData getMetaData() throws FilterException
FilterException
- If the metadata is not available.void close() throws FilterException
EventsException
- If an error occurs when releasing resources held
by the filter.
FilterException
|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |