Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package javax.interceptor;
 import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
 import static java.lang.annotation.RetentionPolicy.RUNTIME;
Specifies that an annotation type is an interceptor binding type. Interceptor bindings are used to specify the binding of an interceptor class to target classes and methods.

The annotation type that is marked as a binding must be applied to an interceptor class (marked with the @Interceptor annotation to associate that annotation with an interceptor. The annotation may then be applied instead of, or in addition to, the @Interceptors annotation to specify what interceptors are attached to the class or method.

The associated annotation type must be associated only with TYPEs and/or METHODs.

public @interface InterceptorBinding {}
New to GrepCode? Check out our FAQ X