Package org.jboss.weld.metadata.cache
Class AbstractBindingModel<T extends Annotation>
- java.lang.Object
-
- org.jboss.weld.metadata.cache.AnnotationModel<T>
-
- org.jboss.weld.metadata.cache.AbstractBindingModel<T>
-
- Direct Known Subclasses:
InterceptorBindingModel
,QualifierModel
public abstract class AbstractBindingModel<T extends Annotation> extends AnnotationModel<T>
Common functionality for qualifiers and interceptor bindings.- Author:
- Jozef Hartinger
-
-
Field Summary
-
Fields inherited from class org.jboss.weld.metadata.cache.AnnotationModel
valid
-
-
Constructor Summary
Constructors Constructor Description AbstractBindingModel(EnhancedAnnotation<T> enhancedAnnotatedAnnotation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<jakarta.enterprise.inject.spi.AnnotatedMethod<?>>
getNonBindingMembers()
Gets the non-binding typesprotected void
init(EnhancedAnnotation<T> annotatedAnnotation)
Initializes the type and validates itprotected void
initNonBindingMembers(EnhancedAnnotation<T> annotatedAnnotation)
-
Methods inherited from class org.jboss.weld.metadata.cache.AnnotationModel
check, getAnnotatedAnnotation, getMetaAnnotationTypes, getRawType, initType, initValid, isValid, toString
-
-
-
-
Constructor Detail
-
AbstractBindingModel
public AbstractBindingModel(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 classAnnotationModel<T extends Annotation>
-
initNonBindingMembers
protected void initNonBindingMembers(EnhancedAnnotation<T> annotatedAnnotation)
-
getNonBindingMembers
public Set<jakarta.enterprise.inject.spi.AnnotatedMethod<?>> getNonBindingMembers()
Gets the non-binding types- Returns:
- A set of non-binding types, or an empty set if there are none present
-
-