Annotation Type Interceptor
-
@Retention(RUNTIME) @Target(TYPE) @Inherited public @interface Interceptor
Interceptor is an annotation that can be applied toEventInterceptorimplementations. 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 StringidentifierA unique identifier for the interceptor.Interceptor.OrderorderIff a value ofInterceptor.Order.HIGHis 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.HIGHis provided this interceptor will request to be the first in the chain of interceptors.- Returns:
- whether this
EventInterceptorshould be first (Interceptor.Order.HIGH) in the chain ofEventInterceptors
- Default:
- com.tangosol.net.events.annotation.Interceptor.Order.LOW
-
-