| java.lang.Object | |
| ↳ | org.springframework.beans.factory.wiring.BeanWiringInfo |
Holder for bean wiring metadata information about a particular class. Used in
conjunction with the Configurable
annotation and the AspectJ AnnotationBeanConfigurerAspect.
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| int | AUTOWIRE_BY_NAME | Constant that indicates autowiring bean properties by name. | |||||||||
| int | AUTOWIRE_BY_TYPE | Constant that indicates autowiring bean properties by type. | |||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Create a default BeanWiringInfo that suggests plain initialization of
factory and post-processor callbacks that the bean class may expect.
| |||||||||||
Create a new BeanWiringInfo that points to the given bean name.
| |||||||||||
Create a new BeanWiringInfo that points to the given bean name.
| |||||||||||
Create a new BeanWiringInfo that indicates autowiring.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Return one of the constants
AUTOWIRE_BY_NAME /
AUTOWIRE_BY_TYPE, if autowiring is indicated. | |||||||||||
Return the specific bean name that this BeanWiringInfo points to, if any.
| |||||||||||
Return whether to perform a dependency check for object references
in the bean instance (after autowiring).
| |||||||||||
Return whether this BeanWiringInfo indicates autowiring.
| |||||||||||
Return whether the specific bean name is a suggested default bean name,
not necessarily matching an actual bean definition in the factory.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Constant that indicates autowiring bean properties by name.
Constant that indicates autowiring bean properties by type.
Create a default BeanWiringInfo that suggests plain initialization of factory and post-processor callbacks that the bean class may expect.
Create a new BeanWiringInfo that points to the given bean name.
| beanName | the name of the bean definition to take the property values from |
|---|
| IllegalArgumentException | if the supplied beanName is null,
is empty, or consists wholly of whitespace
|
|---|
Create a new BeanWiringInfo that points to the given bean name.
| beanName | the name of the bean definition to take the property values from |
|---|---|
| isDefaultBeanName | whether the given bean name is a suggested default bean name, not necessarily matching an actual bean definition |
| IllegalArgumentException | if the supplied beanName is null,
is empty, or consists wholly of whitespace
|
|---|
Create a new BeanWiringInfo that indicates autowiring.
| autowireMode | one of the constants AUTOWIRE_BY_NAME /
AUTOWIRE_BY_TYPE |
|---|---|
| dependencyCheck | whether to perform a dependency check for object references in the bean instance (after autowiring) |
| IllegalArgumentException | if the supplied autowireMode
is not one of the allowed values |
|---|
Return one of the constants AUTOWIRE_BY_NAME /
AUTOWIRE_BY_TYPE, if autowiring is indicated.
Return the specific bean name that this BeanWiringInfo points to, if any.
Return whether to perform a dependency check for object references in the bean instance (after autowiring).
Return whether this BeanWiringInfo indicates autowiring.
Return whether the specific bean name is a suggested default bean name, not necessarily matching an actual bean definition in the factory.