|
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 |
@Retention(value=RUNTIME)
@Target(value=TYPE)
public interface Interceptor
Interceptor is an annotation that should be applied to EventInterceptor
implementations. The annotation allows the specification of an identifier, event types and an order. These are used to restrict the events an EventInterceptor
subscribes to.
When used in combination with the cache configuration the annotation members identifier()
and order()
can be overridden by the corresponding XML elements.
Nested Class Summary | |
---|---|
static class |
Interceptor.Order This enum provides an indication of whether the EventInterceptor should request to be first in the chain of EventInterceptor s, hence have a HIGH priority. |
Method Summary | |
---|---|
EntryEvent.Type[] |
entryEvents() This element specifies all types of EntryEvent.Type s the interceptor would like to be invoked on. |
EntryProcessorEvent.Type[] |
entryProcessorEvents() This element specifies all types of EntryProcessorEvent.Type s the interceptor would like to be invoked on. |
java.lang.String |
identifier() A unique identifier for the interceptor. |
Interceptor.Order |
order() Iff a value of Interceptor.Order.HIGH is provided this interceptor will request to be the first in the chain of interceptors. |
TransactionEvent.Type[] |
transactionEvents() This element specifies all types of TransactionEvent.Type s the interceptor would like to be invoked on. |
TransferEvent.Type[] |
transferEvents() This element specifies all types of TransferEvent.Type s the interceptor would like to be invoked on. |
Methods inherited from interface java.lang.annotation.Annotation |
---|
annotationType, equals, hashCode, toString |
Method Detail |
---|
java.lang.String identifier()
EntryEvent.Type[] entryEvents()
EntryEvent.Type
s the interceptor would like to be invoked on.EntryEvent.Type
s the EventInterceptor
would like to receive notifications onEntryProcessorEvent.Type[] entryProcessorEvents()
EntryProcessorEvent.Type
s the interceptor would like to be invoked on.EntryProcessorEvent.Type
s the EventInterceptor
would like to receive notifications onTransferEvent.Type[] transferEvents()
TransferEvent.Type
s the interceptor would like to be invoked on.TransferEvent.Type
s the EventInterceptor
would like to receive notifications onTransactionEvent.Type[] transactionEvents()
TransactionEvent.Type
s the interceptor would like to be invoked on.TransactionEvent.Type
s the EventInterceptor
would like to receive notifications onInterceptor.Order order()
Interceptor.Order.HIGH
is provided this interceptor will request to be the first in the chain of interceptors.EventInterceptor
should be first (Interceptor.Order.HIGH
) in the chain of EventInterceptor
s
|
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 |