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
Modifier and TypeClassDescriptionstatic enum
This enum provides an indication of whether theEventInterceptor
should request to be first in the chain ofEventInterceptor
s, hence have a HIGH priority. -
Optional Element Summary
Modifier and TypeOptional ElementDescriptionA unique identifier for the interceptor.Iff a value ofInterceptor.Order.HIGH
is 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.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:
LOW
-