public class ContextAnnotationAutowireCandidateResolver
extends org.springframework.beans.factory.annotation.QualifierAnnotationAutowireCandidateResolver
AutowireCandidateResolver
strategy
interface, providing support for qualifier annotations as well as for lazy resolution
driven by the Lazy
annotation in the context.annotation
package.Constructor and Description |
---|
ContextAnnotationAutowireCandidateResolver() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
buildLazyResolutionProxy(org.springframework.beans.factory.config.DependencyDescriptor descriptor,
java.lang.String beanName) |
java.lang.Object |
getLazyResolutionProxyIfNecessary(org.springframework.beans.factory.config.DependencyDescriptor descriptor,
java.lang.String beanName) |
protected boolean |
isLazy(org.springframework.beans.factory.config.DependencyDescriptor descriptor) |
addQualifierType, checkQualifier, checkQualifiers, extractValue, findValue, getFactoryMethodAnnotation, getQualifiedElementAnnotation, getSuggestedValue, isAutowireCandidate, isQualifier, isRequired, setValueAnnotationType
public ContextAnnotationAutowireCandidateResolver()
@Nullable public java.lang.Object getLazyResolutionProxyIfNecessary(org.springframework.beans.factory.config.DependencyDescriptor descriptor, @Nullable java.lang.String beanName)
getLazyResolutionProxyIfNecessary
in interface org.springframework.beans.factory.support.AutowireCandidateResolver
getLazyResolutionProxyIfNecessary
in class org.springframework.beans.factory.support.SimpleAutowireCandidateResolver
protected boolean isLazy(org.springframework.beans.factory.config.DependencyDescriptor descriptor)
protected java.lang.Object buildLazyResolutionProxy(org.springframework.beans.factory.config.DependencyDescriptor descriptor, @Nullable java.lang.String beanName)