public class AutowireCandidateQualifier extends BeanMetadataAttributeAccessor
Qualifier,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
VALUE_KEY |
| Constructor and Description |
|---|
AutowireCandidateQualifier(java.lang.Class<?> type)
Construct a qualifier to match against an annotation of the
given type.
|
AutowireCandidateQualifier(java.lang.Class<?> type,
java.lang.Object value)
Construct a qualifier to match against an annotation of the
given type whose
value attribute also matches
the specified value. |
AutowireCandidateQualifier(java.lang.String typeName)
Construct a qualifier to match against an annotation of the
given type name.
|
AutowireCandidateQualifier(java.lang.String typeName,
java.lang.Object value)
Construct a qualifier to match against an annotation of the
given type name whose
value attribute also matches
the specified value. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getTypeName()
Retrieve the type name.
|
addMetadataAttribute, getAttribute, getMetadataAttribute, getSource, removeAttribute, setAttribute, setSourcepublic static final java.lang.String VALUE_KEY
public AutowireCandidateQualifier(java.lang.Class<?> type)
type - the annotation typepublic AutowireCandidateQualifier(java.lang.String typeName)
The type name may match the fully-qualified class name of the annotation or the short class name (without the package).
typeName - the name of the annotation typepublic AutowireCandidateQualifier(java.lang.Class<?> type,
java.lang.Object value)
value attribute also matches
the specified value.type - the annotation typevalue - the annotation value to matchpublic AutowireCandidateQualifier(java.lang.String typeName,
java.lang.Object value)
value attribute also matches
the specified value.
The type name may match the fully-qualified class name of the annotation or the short class name (without the package).
typeName - the name of the annotation typevalue - the annotation value to match