Annotation Type Interceptor
-
@Retention(RUNTIME) @Target(TYPE) @Inherited public @interface Interceptor
Interceptor is an annotation that can be applied toEventInterceptor
implementations. The annotation allows the specification of an identifier and an order.When used in combination with the cache configuration the annotation members
identifier()
andorder()
can be overridden by the corresponding XML elements.- Since:
- Coherence 12.1.2
- Author:
- hr 2011.10.07
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description String
identifier
A unique identifier for the interceptor.Interceptor.Order
order
Iff a value ofInterceptor.Order.HIGH
is provided this interceptor will request to be the first in the chain of interceptors.
-
-
-
Element Detail
-
identifier
String identifier
A unique identifier for the interceptor.- Returns:
- unique identifier for the interceptor
- Default:
- ""
-
-
-
order
Interceptor.Order order
Iff a value ofInterceptor.Order.HIGH
is provided this interceptor will request to be the first in the chain of interceptors.- Returns:
- whether this
EventInterceptor
should be first (Interceptor.Order.HIGH
) in the chain ofEventInterceptor
s
- Default:
- com.tangosol.net.events.annotation.Interceptor.Order.LOW
-
-