|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.2) E26043-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 Events to EventInterceptors for processing.
| Method Summary | |
|---|---|
void |
addEventInterceptor(EventInterceptor interceptor)Add an EventInterceptor to this dispatcher to be used to process Events. |
void |
addEventInterceptor(java.lang.String sIdentifier, EventInterceptor interceptor)Add a uniquely identified EventInterceptor to this dispatcher to be used to process Events. |
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 Events. |
java.util.Set |
getSupportedTypes()Return the set of Event types this EventDispatcher supports. |
void |
removeEventInterceptor(EventInterceptor interceptor)Remove an EventInterceptor from this dispatcher. |
void |
removeEventInterceptor(java.lang.String sIdentifier)Remove an EventInterceptor from this dispatcher. |
| Method Detail |
|---|
void addEventInterceptor(EventInterceptor interceptor)
EventInterceptor to this dispatcher to be used to process Events. The EventInterceptor will be analyzed to determine applicability to this dispatcher and an identifier will be generated if not specified via an annotation. The generated identifier is the fully qualified class name.interceptor - the EventInterceptor to add
void addEventInterceptor(java.lang.String sIdentifier,
EventInterceptor interceptor)
EventInterceptor to this dispatcher to be used to process Events. The EventInterceptor will be analyzed to determine applicability to this dispatcher.sIdentifier - the unique name of the EventInterceptor to addinterceptor - the EventInterceptor to add
void addEventInterceptor(java.lang.String sIdentifier,
EventInterceptor interceptor,
java.util.Set setTypes,
boolean fFirst)
EventInterceptor to this dispatcher to be used to process Events.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(EventInterceptor interceptor)
EventInterceptor from this dispatcher.interceptor - the EventInterceptor to be removed from the dispatcher based on identity referencevoid 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.
|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.2) E26043-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||