|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EventDispatcher
An EventDispatcher
is responsible for dispatching Event
s to EventInterceptor
s for processing.
Method Summary | |
---|---|
void |
addEventInterceptor(java.lang.String sIdentifier, EventInterceptor interceptor, java.util.Set setTypes, boolean fFirst) Add a uniquely identified EventInterceptor to this dispatcher to be used to process Event s. |
java.util.Set |
getSupportedTypes() Return the set of Event types this EventDispatcher supports. |
void |
removeEventInterceptor(java.lang.String sIdentifier) Remove an EventInterceptor from this dispatcher. |
Method Detail |
---|
void addEventInterceptor(java.lang.String sIdentifier, EventInterceptor interceptor, java.util.Set setTypes, boolean fFirst)
EventInterceptor
to this dispatcher to be used to process Event
s.sIdentifier
- the unique name of the EventInterceptor
to addinterceptor
- the EventInterceptor
to addsetTypes
- the Event
types the specified interceptor is subscribing to, or null to subscribe to all eventsfFirst
- true iff the EventInterceptor
should be added to the head of this dispatcher's interceptor chainvoid removeEventInterceptor(java.lang.String sIdentifier)
EventInterceptor
from this dispatcher.sIdentifier
- the unique name identifying the EventInterceptor
to removejava.util.Set getSupportedTypes()
Event
types this EventDispatcher
supports.Event
types this EventDispatcher
supports
|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |