@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 |
---|---|
boolean |
bindMembers
By default annotation members are not used when resolving interceptors.
|
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
public abstract boolean bindMembers
bindMembers()
can be set to true
to indicate that annotation members
should be used when binding interceptors to an annotation declaration.
The NonBinding
annotation should
then be used on any annotation members that should not be included in this binding computation.
NonBinding