public class AutowireCandidateQualifier extends BeanMetadataAttributeAccessor
Qualifier
,
Serialized FormConstructor and Description |
---|
AutowireCandidateQualifier(Class<?> type)
Construct a qualifier to match against an annotation of the
given type.
|
AutowireCandidateQualifier(Class<?> type,
Object value)
Construct a qualifier to match against an annotation of the
given type whose
value attribute also matches
the specified value. |
AutowireCandidateQualifier(String typeName)
Construct a qualifier to match against an annotation of the
given type name.
|
AutowireCandidateQualifier(String typeName,
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 |
---|---|
String |
getTypeName()
Retrieve the type name.
|
addMetadataAttribute, getAttribute, getMetadataAttribute, getSource, removeAttribute, setAttribute, setSource
attributeNames, copyAttributesFrom, equals, hasAttribute, hashCode
public static final String VALUE_KEY
public AutowireCandidateQualifier(Class<?> type)
type
- the annotation typepublic AutowireCandidateQualifier(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(Class<?> type, Object value)
value
attribute also matches
the specified value.type
- the annotation typevalue
- the annotation value to matchpublic AutowireCandidateQualifier(String typeName, 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 matchpublic String getTypeName()