@Documented @Retention(value=RUNTIME) @Target(value={ANNOTATION_TYPE,TYPE}) @Repeatable(value=InterceptorBindingDefinitions.class) public @interface InterceptorBinding
InterceptorBinding
is used as a meta-annotation on Around
and Introduction
advice to
indicate that AOP advice should be applied to the method and that any annotations that feature this stereotype annotation
should be used to resolve associated interceptors at runtime.Modifier and Type | Optional Element and Description |
---|---|
InterceptorKind |
kind |
Class<? extends Annotation> |
value
When declared on an interceptor, the value of this annotation can be used to indicate the annotation the
MethodInterceptor binds to at runtime. |
public abstract Class<? extends Annotation> value
MethodInterceptor
binds to at runtime.public abstract InterceptorKind kind