Annotation Interface Interceptor
Interceptor is an annotation that can be applied to
EventInterceptor implementations.
The annotation allows the specification of an identifier and
an order.
When used in combination with the cache configuration the annotation
members identifier() and order() can be overridden by
the corresponding XML elements.
- Since:
- Coherence 12.1.2
- Author:
- hr 2011.10.07
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThis enum provides an indication of whether theEventInterceptorshould request to be first in the chain ofEventInterceptors, hence have a HIGH priority. -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionA unique identifier for the interceptor.Iff a value ofInterceptor.Order.HIGHis provided this interceptor will request to be the first in the chain of interceptors.
-
Element Details
-
identifier
String identifierA unique identifier for the interceptor.- Returns:
- unique identifier for the interceptor
- Default:
- ""
-
order
Interceptor.Order orderIff 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:
- LOW
-