Uses of Interface
org.springframework.beans.factory.support.AutowireCandidateResolver
Packages that use AutowireCandidateResolver Package Description org.springframework.beans.factory.annotation Support package for annotation-driven bean configuration.org.springframework.beans.factory.support Classes supporting theorg.springframework.beans.factory
package.org.springframework.context.annotation Annotation support for the Application Context, including JSR-250 "common" annotations, component-scanning, and Java-based metadata for creating Spring-managed objects.Uses of AutowireCandidateResolver in org.springframework.beans.factory.annotation
Classes in org.springframework.beans.factory.annotation that implement AutowireCandidateResolver Modifier and Type Class Description class
QualifierAnnotationAutowireCandidateResolver
AutowireCandidateResolver
implementation that matches bean definition qualifiers againstqualifier annotations
on the field or parameter to be autowired.Uses of AutowireCandidateResolver in org.springframework.beans.factory.support
Classes in org.springframework.beans.factory.support that implement AutowireCandidateResolver Modifier and Type Class Description class
GenericTypeAwareAutowireCandidateResolver
BasicAutowireCandidateResolver
that performs a full generic type match with the candidate's type if the dependency is declared as a generic type (e.g.class
SimpleAutowireCandidateResolver
AutowireCandidateResolver
implementation to use when no annotation support is available.Methods in org.springframework.beans.factory.support that return AutowireCandidateResolver Modifier and Type Method Description default AutowireCandidateResolver
AutowireCandidateResolver. cloneIfNecessary()
Return a clone of this resolver instance if necessary, retaining its local configuration and allowing for the cloned instance to get associated with a new bean factory, or this original instance if there is no such state.AutowireCandidateResolver
GenericTypeAwareAutowireCandidateResolver. cloneIfNecessary()
This implementation clones all instance fields through standardCloneable
support, allowing for subsequent reconfiguration of the cloned instance through a freshGenericTypeAwareAutowireCandidateResolver.setBeanFactory(org.springframework.beans.factory.BeanFactory)
call.AutowireCandidateResolver
SimpleAutowireCandidateResolver. cloneIfNecessary()
This implementation returnsthis
as-is.AutowireCandidateResolver
DefaultListableBeanFactory. getAutowireCandidateResolver()
Return the autowire candidate resolver for this BeanFactory (nevernull
).Methods in org.springframework.beans.factory.support with parameters of type AutowireCandidateResolver Modifier and Type Method Description protected boolean
DefaultListableBeanFactory. isAutowireCandidate(String beanName, DependencyDescriptor descriptor, AutowireCandidateResolver resolver)
Determine whether the specified bean definition qualifies as an autowire candidate, to be injected into other beans which declare a dependency of matching type.protected boolean
DefaultListableBeanFactory. isAutowireCandidate(String beanName, RootBeanDefinition mbd, DependencyDescriptor descriptor, AutowireCandidateResolver resolver)
Determine whether the specified bean definition qualifies as an autowire candidate, to be injected into other beans which declare a dependency of matching type.void
DefaultListableBeanFactory. setAutowireCandidateResolver(AutowireCandidateResolver autowireCandidateResolver)
Set a custom autowire candidate resolver for this BeanFactory to use when deciding whether a bean definition should be considered as a candidate for autowiring.Uses of AutowireCandidateResolver in org.springframework.context.annotation
Classes in org.springframework.context.annotation that implement AutowireCandidateResolver Modifier and Type Class Description class
ContextAnnotationAutowireCandidateResolver
Complete implementation of theAutowireCandidateResolver
strategy interface, providing support for qualifier annotations as well as for lazy resolution driven by theLazy
annotation in thecontext.annotation
package.