public class AutowireCandidateQualifier extends BeanMetadataAttributeAccessor
Qualifier
,
Serialized FormModifier and Type | Field and Description |
---|---|
private java.lang.String |
typeName |
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, setSource
attributeNames, copyAttributesFrom, equals, hasAttribute, hashCode
public static java.lang.String VALUE_KEY
private final java.lang.String typeName
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