public class QualifierInstance extends Object
Note that Weld is using this representation for interceptor bindings as well. See also
BeanManagerImpl.resolveInterceptors(javax.enterprise.inject.spi.InterceptionType, java.util.Collection)
Modifier and Type | Field and Description |
---|---|
static QualifierInstance |
ANY |
static QualifierInstance |
DEFAULT |
Constructor and Description |
---|
QualifierInstance(Class<? extends Annotation> annotationClass,
Map<String,Object> values)
Constructs a qualifier instance without any checks.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Class<? extends Annotation> |
getAnnotationClass() |
Object |
getValue(String name) |
int |
hashCode() |
static QualifierInstance |
of(Annotation annotation,
MetaAnnotationStore store) |
static Set<QualifierInstance> |
of(javax.enterprise.inject.spi.Bean<?> bean,
MetaAnnotationStore store) |
static Set<QualifierInstance> |
of(Set<Annotation> qualifiers,
MetaAnnotationStore store) |
String |
toString() |
public static final QualifierInstance ANY
public static final QualifierInstance DEFAULT
public QualifierInstance(Class<? extends Annotation> annotationClass, Map<String,Object> values)
annotationClass
- values
- of(Annotation, MetaAnnotationStore)
,
of(Bean, MetaAnnotationStore)
public static Set<QualifierInstance> of(Set<Annotation> qualifiers, MetaAnnotationStore store)
public static Set<QualifierInstance> of(javax.enterprise.inject.spi.Bean<?> bean, MetaAnnotationStore store)
public static QualifierInstance of(Annotation annotation, MetaAnnotationStore store)
annotation
- store
- public Class<? extends Annotation> getAnnotationClass()
Copyright © 2018. All rights reserved.