|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-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 EventDispatcher.InterceptorRegistrationEvents to EventInterceptors for processing.
| Nested Class Summary | |
|---|---|
static interface |
EventDispatcher.InterceptorRegistrationEventAn InterceptorRegistrationEvent allows EventInterceptors to observe other EventInterceptors being added or removed from an EventDispatcher instance. |
| Method Summary | |
|---|---|
void |
addEventInterceptor(EventInterceptor interceptor)Add an EventInterceptor to this dispatcher to be used to process EventDispatcher.InterceptorRegistrationEvents. |
void |
addEventInterceptor(java.lang.String sIdentifier, EventInterceptor interceptor)Add a uniquely identified EventInterceptor to this dispatcher to be used to process EventDispatcher.InterceptorRegistrationEvents. |
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 EventDispatcher.InterceptorRegistrationEvents. |
java.util.Set |
getSupportedTypes()Return the set of EventDispatcher.InterceptorRegistrationEvent 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 EventDispatcher.InterceptorRegistrationEvents. 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 EventDispatcher.InterceptorRegistrationEvents. 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 EventDispatcher.InterceptorRegistrationEvents.sIdentifier - the unique name of the EventInterceptor to addinterceptor - the EventInterceptor to addsetTypes - the EventDispatcher.InterceptorRegistrationEvent 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()
EventDispatcher.InterceptorRegistrationEvent types this EventDispatcher supports.
|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||