Annotation Interface Interceptor


@Retention(RUNTIME) @Target(TYPE) @Inherited public @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 Classes
    Modifier and Type
    Class
    Description
    static enum 
    This enum provides an indication of whether the EventInterceptor should request to be first in the chain of EventInterceptors, hence have a HIGH priority.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    A unique identifier for the interceptor.
    Iff a value of Interceptor.Order.HIGH is provided this interceptor will request to be the first in the chain of interceptors.