Package org.jboss.weld.metadata.cache
Class InterceptorBindingModel<T extends Annotation>
- java.lang.Object
-
- org.jboss.weld.metadata.cache.AnnotationModel<T>
-
- org.jboss.weld.metadata.cache.AbstractBindingModel<T>
-
- org.jboss.weld.metadata.cache.InterceptorBindingModel<T>
-
public class InterceptorBindingModel<T extends Annotation> extends AbstractBindingModel<T>
- Author:
- Marius Bogoevici
-
-
Field Summary
-
Fields inherited from class org.jboss.weld.metadata.cache.AnnotationModel
valid
-
-
Constructor Summary
Constructors Constructor Description InterceptorBindingModel(EnhancedAnnotation<T> enhancedAnnotatedAnnotation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
check(EnhancedAnnotation<T> annotatedAnnotation)
Set<Annotation>
getInheritedInterceptionBindingTypes()
Retrieves the transitive interceptor binding types that are inherited by this interceptor binding, as per section 9.1.1 of the specification, "Interceptor binding types with additional interceptor bindings"Set<Annotation>
getMetaAnnotations()
protected Set<Class<? extends Annotation>>
getMetaAnnotationTypes()
Gets the meta-annotation that should be presentprotected void
init(EnhancedAnnotation<T> annotatedAnnotation)
Initializes the type and validates itprotected void
initInterceptionBindingTypes(EnhancedAnnotation<T> annotatedAnnotation)
boolean
isEqual(Annotation instance, Annotation other)
boolean
isEqual(Annotation instance, Annotation other, boolean includeNonBindingTypes)
-
Methods inherited from class org.jboss.weld.metadata.cache.AbstractBindingModel
getNonBindingMembers, initNonBindingMembers
-
Methods inherited from class org.jboss.weld.metadata.cache.AnnotationModel
getAnnotatedAnnotation, getRawType, initType, initValid, isValid, toString
-
-
-
-
Constructor Detail
-
InterceptorBindingModel
public InterceptorBindingModel(EnhancedAnnotation<T> enhancedAnnotatedAnnotation)
-
-
Method Detail
-
init
protected void init(EnhancedAnnotation<T> annotatedAnnotation)
Description copied from class:AnnotationModel
Initializes the type and validates it- Overrides:
init
in classAbstractBindingModel<T extends Annotation>
-
getMetaAnnotationTypes
protected Set<Class<? extends Annotation>> getMetaAnnotationTypes()
Description copied from class:AnnotationModel
Gets the meta-annotation that should be present- Specified by:
getMetaAnnotationTypes
in classAnnotationModel<T extends Annotation>
- Returns:
-
getMetaAnnotations
public Set<Annotation> getMetaAnnotations()
-
initInterceptionBindingTypes
protected void initInterceptionBindingTypes(EnhancedAnnotation<T> annotatedAnnotation)
-
check
protected void check(EnhancedAnnotation<T> annotatedAnnotation)
- Overrides:
check
in classAnnotationModel<T extends Annotation>
-
getInheritedInterceptionBindingTypes
public Set<Annotation> getInheritedInterceptionBindingTypes()
Retrieves the transitive interceptor binding types that are inherited by this interceptor binding, as per section 9.1.1 of the specification, "Interceptor binding types with additional interceptor bindings"- Returns:
- a set of transitive interceptor bindings, if any
-
isEqual
public boolean isEqual(Annotation instance, Annotation other)
-
isEqual
public boolean isEqual(Annotation instance, Annotation other, boolean includeNonBindingTypes)
-
-