public class ContextAnnotationAutowireCandidateResolver extends 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 Object |
buildLazyResolutionProxy(DependencyDescriptor descriptor,
String beanName) |
Object |
getLazyResolutionProxyIfNecessary(DependencyDescriptor descriptor,
String beanName)
This implementation always returns
null, leaving lazy resolution support up
to subclasses. |
protected boolean |
isLazy(DependencyDescriptor descriptor) |
addQualifierType, checkQualifier, checkQualifiers, extractValue, findValue, getFactoryMethodAnnotation, getSuggestedValue, isAutowireCandidate, isQualifier, setValueAnnotationTypecheckGenericTypeMatch, getBeanFactory, getResolvedDecoratedDefinition, getReturnTypeForFactoryMethod, setBeanFactorypublic ContextAnnotationAutowireCandidateResolver()
public Object getLazyResolutionProxyIfNecessary(DependencyDescriptor descriptor, String beanName)
GenericTypeAwareAutowireCandidateResolvernull, leaving lazy resolution support up
to subclasses.getLazyResolutionProxyIfNecessary in interface AutowireCandidateResolvergetLazyResolutionProxyIfNecessary in class GenericTypeAwareAutowireCandidateResolverdescriptor - the descriptor for the target method parameter or fieldbeanName - the name of the bean that contains the injection pointnull if straight resolution is to be performedprotected boolean isLazy(DependencyDescriptor descriptor)
protected Object buildLazyResolutionProxy(DependencyDescriptor descriptor, String beanName)