Uses of Class
org.springframework.beans.factory.config.DependencyDescriptor
Package
Description
Support package for annotation-driven bean configuration.
SPI interfaces and configuration-related convenience classes for bean factories.
Classes supporting the
org.springframework.beans.factory
package.Annotation support for the Application Context, including JSR-250 "common"
annotations, component-scanning, and Java-based metadata for creating
Spring-managed objects.
-
Uses of DependencyDescriptor in org.springframework.beans.factory.annotation
Modifier and TypeMethodDescriptionQualifierAnnotationAutowireCandidateResolver.getSuggestedValue
(DependencyDescriptor descriptor) Determine whether the given dependency declares a value annotation.boolean
QualifierAnnotationAutowireCandidateResolver.hasQualifier
(DependencyDescriptor descriptor) Determine whether the given dependency declares a qualifier annotation.boolean
QualifierAnnotationAutowireCandidateResolver.isAutowireCandidate
(BeanDefinitionHolder bdHolder, DependencyDescriptor descriptor) Determine whether the provided bean definition is an autowire candidate.boolean
QualifierAnnotationAutowireCandidateResolver.isRequired
(DependencyDescriptor descriptor) Determine whether the given dependency declares an autowired annotation, checking its required flag. -
Uses of DependencyDescriptor in org.springframework.beans.factory.config
Modifier and TypeMethodDescriptionDependencyDescriptor.forFallbackMatch()
Return a variant of this descriptor that is intended for a fallback match.Modifier and TypeMethodDescriptionboolean
ConfigurableListableBeanFactory.isAutowireCandidate
(String beanName, DependencyDescriptor descriptor) Determine whether the specified bean qualifies as an autowire candidate, to be injected into other beans which declare a dependency of matching type.AutowireCapableBeanFactory.resolveBeanByName
(String name, DependencyDescriptor descriptor) Resolve a bean instance for the given bean name, providing a dependency descriptor for exposure to target factory methods.AutowireCapableBeanFactory.resolveDependency
(DependencyDescriptor descriptor, String requestingBeanName) Resolve the specified dependency against the beans defined in this factory.AutowireCapableBeanFactory.resolveDependency
(DependencyDescriptor descriptor, String requestingBeanName, Set<String> autowiredBeanNames, TypeConverter typeConverter) Resolve the specified dependency against the beans defined in this factory.ModifierConstructorDescriptionDependencyDescriptor
(DependencyDescriptor original) Copy constructor. -
Uses of DependencyDescriptor in org.springframework.beans.factory.support
Modifier and TypeMethodDescriptionprotected boolean
GenericTypeAwareAutowireCandidateResolver.checkGenericTypeMatch
(BeanDefinitionHolder bdHolder, DependencyDescriptor descriptor) Match the given dependency type with its generic type information against the given candidate bean definition.protected String
DefaultListableBeanFactory.determineAutowireCandidate
(Map<String, Object> candidates, DependencyDescriptor descriptor) Determine the autowire candidate in the given set of beans.DefaultListableBeanFactory.doResolveDependency
(DependencyDescriptor descriptor, String beanName, Set<String> autowiredBeanNames, TypeConverter typeConverter) DefaultListableBeanFactory.findAutowireCandidates
(String beanName, Class<?> requiredType, DependencyDescriptor descriptor) Find bean instances that match the required type.default Class<?>
AutowireCandidateResolver.getLazyResolutionProxyClass
(DependencyDescriptor descriptor, String beanName) Determine the proxy class for lazy resolution of the dependency target, if demanded by the injection point.Class<?>
SimpleAutowireCandidateResolver.getLazyResolutionProxyClass
(DependencyDescriptor descriptor, String beanName) default Object
AutowireCandidateResolver.getLazyResolutionProxyIfNecessary
(DependencyDescriptor descriptor, String beanName) Build a proxy for lazy resolution of the actual dependency target, if demanded by the injection point.SimpleAutowireCandidateResolver.getLazyResolutionProxyIfNecessary
(DependencyDescriptor descriptor, String beanName) protected ResolvableType
GenericTypeAwareAutowireCandidateResolver.getReturnTypeForFactoryMethod
(RootBeanDefinition rbd, DependencyDescriptor descriptor) default Object
AutowireCandidateResolver.getSuggestedValue
(DependencyDescriptor descriptor) Determine whether a default value is suggested for the given dependency.SimpleAutowireCandidateResolver.getSuggestedValue
(DependencyDescriptor descriptor) default boolean
AutowireCandidateResolver.hasQualifier
(DependencyDescriptor descriptor) Determine whether the given descriptor declares a qualifier beyond the type (typically - but not necessarily - a specific kind of annotation).boolean
SimpleAutowireCandidateResolver.hasQualifier
(DependencyDescriptor descriptor) default boolean
AutowireCandidateResolver.isAutowireCandidate
(BeanDefinitionHolder bdHolder, DependencyDescriptor descriptor) Determine whether the given bean definition qualifies as an autowire candidate for the given dependency.boolean
DefaultListableBeanFactory.isAutowireCandidate
(String beanName, DependencyDescriptor descriptor) 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.boolean
GenericTypeAwareAutowireCandidateResolver.isAutowireCandidate
(BeanDefinitionHolder bdHolder, DependencyDescriptor descriptor) boolean
SimpleAutowireCandidateResolver.isAutowireCandidate
(BeanDefinitionHolder bdHolder, DependencyDescriptor descriptor) default boolean
AutowireCandidateResolver.isRequired
(DependencyDescriptor descriptor) Determine whether the given descriptor is effectively required.boolean
SimpleAutowireCandidateResolver.isRequired
(DependencyDescriptor descriptor) RegisteredBean.resolveAutowiredArgument
(DependencyDescriptor descriptor, TypeConverter typeConverter, Set<String> autowiredBeanNames) Resolve an autowired argument.AbstractAutowireCapableBeanFactory.resolveBeanByName
(String name, DependencyDescriptor descriptor) AbstractAutowireCapableBeanFactory.resolveDependency
(DependencyDescriptor descriptor, String requestingBeanName) DefaultListableBeanFactory.resolveDependency
(DependencyDescriptor descriptor, String requestingBeanName, Set<String> autowiredBeanNames, TypeConverter typeConverter) -
Uses of DependencyDescriptor in org.springframework.context.annotation
Modifier and TypeMethodDescriptionfinal DependencyDescriptor
CommonAnnotationBeanPostProcessor.LookupElement.getDependencyDescriptor()
Build a DependencyDescriptor for the underlying field/method.Modifier and TypeMethodDescriptionprotected Object
ContextAnnotationAutowireCandidateResolver.buildLazyResolutionProxy
(DependencyDescriptor descriptor, String beanName) Class<?>
ContextAnnotationAutowireCandidateResolver.getLazyResolutionProxyClass
(DependencyDescriptor descriptor, String beanName) ContextAnnotationAutowireCandidateResolver.getLazyResolutionProxyIfNecessary
(DependencyDescriptor descriptor, String beanName) protected boolean
ContextAnnotationAutowireCandidateResolver.isLazy
(DependencyDescriptor descriptor)