public class

AutowireCandidateQualifier

extends BeanMetadataAttributeAccessor
java.lang.Object
   ↳ org.springframework.core.AttributeAccessorSupport
     ↳ org.springframework.beans.BeanMetadataAttributeAccessor
       ↳ org.springframework.beans.factory.support.AutowireCandidateQualifier

Class Overview

Qualifier for resolving autowire candidates. A bean definition that includes one or more such qualifiers enables fine-grained matching against annotations on a field or parameter to be autowired.

See Also

Summary

Fields
public static String VALUE_KEY
Public Constructors
AutowireCandidateQualifier(Class type)
Construct a qualifier to match against an annotation of the given type.
AutowireCandidateQualifier(String typeName)
Construct a qualifier to match against an annotation of the given type name.
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, Object value)
Construct a qualifier to match against an annotation of the given type name whose value attribute also matches the specified value.
Public Methods
String getTypeName()
Retrieve the type name.
[Expand]
Inherited Methods
From class org.springframework.beans.BeanMetadataAttributeAccessor
From class org.springframework.core.AttributeAccessorSupport
From class java.lang.Object
From interface org.springframework.beans.BeanMetadataElement
From interface org.springframework.core.AttributeAccessor

Fields

public static String VALUE_KEY

Also: SpringBeans

Public Constructors

public AutowireCandidateQualifier (Class type)

Also: SpringBeans

Construct a qualifier to match against an annotation of the given type.

Parameters
type the annotation type

public AutowireCandidateQualifier (String typeName)

Also: SpringBeans

Construct a qualifier to match against an annotation of the given type name.

The type name may match the fully-qualified class name of the annotation or the short class name (without the package).

Parameters
typeName the name of the annotation type

public AutowireCandidateQualifier (Class type, Object value)

Also: SpringBeans

Construct a qualifier to match against an annotation of the given type whose value attribute also matches the specified value.

Parameters
type the annotation type
value the annotation value to match

public AutowireCandidateQualifier (String typeName, Object value)

Also: SpringBeans

Construct a qualifier to match against an annotation of the given type name whose 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).

Parameters
typeName the name of the annotation type
value the annotation value to match

Public Methods

public String getTypeName ()

Also: SpringBeans

Retrieve the type name. This value will be the same as the type name provided to the constructor or the fully-qualified class name if a Class instance was provided to the constructor.