Package | Description |
---|---|
org.springframework.beans.factory.annotation |
Support package for annotation-driven bean configuration.
|
org.springframework.beans.factory.config |
SPI interfaces and configuration-related convenience classes for bean factories.
|
org.springframework.beans.factory.support |
Classes supporting the
org.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.
|
Modifier and Type | Method and Description |
---|---|
Object |
QualifierAnnotationAutowireCandidateResolver.getSuggestedValue(DependencyDescriptor descriptor)
Determine whether the given dependency carries a value annotation.
|
boolean |
QualifierAnnotationAutowireCandidateResolver.isAutowireCandidate(BeanDefinitionHolder bdHolder,
DependencyDescriptor descriptor)
Determine whether the provided bean definition is an autowire candidate.
|
Modifier and Type | Method and Description |
---|---|
boolean |
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.
|
Object |
AutowireCapableBeanFactory.resolveDependency(DependencyDescriptor descriptor,
String beanName)
Resolve the specified dependency against the beans defined in this factory.
|
Object |
AutowireCapableBeanFactory.resolveDependency(DependencyDescriptor descriptor,
String beanName,
Set<String> autowiredBeanNames,
TypeConverter typeConverter)
Resolve the specified dependency against the beans defined in this factory.
|
Constructor and Description |
---|
DependencyDescriptor(DependencyDescriptor original)
Copy constructor.
|
Modifier and Type | Method and Description |
---|---|
protected String |
DefaultListableBeanFactory.determinePrimaryCandidate(Map<String,Object> candidateBeans,
DependencyDescriptor descriptor)
Determine the primary autowire candidate in the given set of beans.
|
protected Object |
DefaultListableBeanFactory.doResolveDependency(DependencyDescriptor descriptor,
Class<?> type,
String beanName,
Set<String> autowiredBeanNames,
TypeConverter typeConverter) |
protected Map<String,Object> |
DefaultListableBeanFactory.findAutowireCandidates(String beanName,
Class<?> requiredType,
DependencyDescriptor descriptor)
Find bean instances that match the required type.
|
Object |
SimpleAutowireCandidateResolver.getSuggestedValue(DependencyDescriptor descriptor) |
Object |
AutowireCandidateResolver.getSuggestedValue(DependencyDescriptor descriptor)
Determine whether a default value is suggested for the given dependency.
|
boolean |
SimpleAutowireCandidateResolver.isAutowireCandidate(BeanDefinitionHolder bdHolder,
DependencyDescriptor descriptor)
Determine if the provided bean definition is an autowire candidate.
|
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,
RootBeanDefinition mbd,
DependencyDescriptor descriptor)
Determine whether the specified bean definition qualifies as an autowire candidate,
to be injected into other beans which declare a dependency of matching type.
|
Object |
AbstractAutowireCapableBeanFactory.resolveDependency(DependencyDescriptor descriptor,
String beanName) |
Object |
DefaultListableBeanFactory.resolveDependency(DependencyDescriptor descriptor,
String beanName,
Set<String> autowiredBeanNames,
TypeConverter typeConverter) |
Modifier and Type | Method and Description |
---|---|
DependencyDescriptor |
CommonAnnotationBeanPostProcessor.LookupElement.getDependencyDescriptor()
Build a DependencyDescriptor for the underlying field/method.
|
Copyright © 2015. All rights reserved.