Uses of Interface
org.springframework.beans.factory.support.AutowireCandidateResolver
Packages that use AutowireCandidateResolver
Package
Description
Support package for annotation-driven bean configuration.
Classes supporting the
org.springframework.beans.factory package.-
Uses of AutowireCandidateResolver in org.springframework.beans.factory.annotation
Classes in org.springframework.beans.factory.annotation that implement AutowireCandidateResolverModifier and TypeClassDescriptionclassAutowireCandidateResolverimplementation that matches bean definition qualifiers againstqualifier annotationson 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 AutowireCandidateResolverModifier and TypeClassDescriptionclassBasicAutowireCandidateResolverthat performs a full generic type match with the candidate's type if the dependency is declared as a generic type (for example,Repository<Customer>).classAutowireCandidateResolverimplementation to use when no annotation support is available.Methods in org.springframework.beans.factory.support that return AutowireCandidateResolverModifier and TypeMethodDescriptiondefault AutowireCandidateResolverAutowireCandidateResolver.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.GenericTypeAwareAutowireCandidateResolver.cloneIfNecessary()This implementation clones all instance fields through standardCloneablesupport, allowing for subsequent reconfiguration of the cloned instance through a freshGenericTypeAwareAutowireCandidateResolver.setBeanFactory(org.springframework.beans.factory.BeanFactory)call.SimpleAutowireCandidateResolver.cloneIfNecessary()This implementation returnsthisas-is.DefaultListableBeanFactory.getAutowireCandidateResolver()Return the autowire candidate resolver for this BeanFactory (nevernull).Methods in org.springframework.beans.factory.support with parameters of type AutowireCandidateResolverModifier and TypeMethodDescriptionprotected booleanDefaultListableBeanFactory.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 booleanDefaultListableBeanFactory.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.voidDefaultListableBeanFactory.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.