org.springframework.beans.factory.annotation.Configurable
annotation and the AspectJ AnnotationBeanConfigurerAspect.
BeanWiringInfoResolver, org.springframework.beans.factory.config.AutowireCapableBeanFactory , org.springframework.beans.factory.annotation.Configurable
| Modifier and Type | Field and Description |
|---|---|
| public static final int | AUTOWIRE_BY_NAME
Constant that indicates autowiring bean properties by name. |
| public static final int | AUTOWIRE_BY_TYPE
Constant that indicates autowiring bean properties by type. |
| private int | |
| private String | |
| private boolean | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public | BeanWiringInfo()
Create a default BeanWiringInfo that suggests plain initialization of factory and post-processor callbacks that the bean class may expect. |
| public | BeanWiringInfo(String
the name of the bean definition to take the property values from beanName)Create a new BeanWiringInfo that points to the given bean name. |
| public | BeanWiringInfo(String
the name of the bean definition to take the property values from beanName, boolean whether the given bean name is a suggested
default bean name, not necessarily matching an actual bean definition isDefaultBeanName)Create a new BeanWiringInfo that points to the given bean name. |
| public | BeanWiringInfo(int
one of the constants autowireMode, boolean AUTOWIRE_BY_NAME /
AUTOWIRE_BY_TYPEwhether to perform a dependency check for object
references in the bean instance (after autowiring) dependencyCheck)Create a new BeanWiringInfo that indicates autowiring. |
| Modifier and Type | Method and Description |
|---|---|
| public int | getAutowireMode()
Return one of the constants |
| public String | |
| public boolean | getDependencyCheck()
Return whether to perform a dependency check for object references in the bean instance (after autowiring). |
| public boolean | |
| public boolean | isDefaultBeanName()
Return whether the specific bean name is a suggested default bean name, not necessarily matching an actual bean definition in the factory. |
| AUTOWIRE_BY_NAME | back to summary |
|---|---|
| public static final int AUTOWIRE_BY_NAME Constant that indicates autowiring bean properties by name. | |
| AUTOWIRE_BY_TYPE | back to summary |
|---|---|
| public static final int AUTOWIRE_BY_TYPE Constant that indicates autowiring bean properties by type. | |
| autowireMode | back to summary |
|---|---|
| private int autowireMode | |
| beanName | back to summary |
|---|---|
| private String beanName
| |
| dependencyCheck | back to summary |
|---|---|
| private boolean dependencyCheck | |
| isDefaultBeanName | back to summary |
|---|---|
| private boolean isDefaultBeanName | |
| BeanWiringInfo | back to summary |
|---|---|
| public BeanWiringInfo() Create a default BeanWiringInfo that suggests plain initialization of factory and post-processor callbacks that the bean class may expect. | |
| BeanWiringInfo | back to summary |
|---|---|
| public BeanWiringInfo(String beanName) Create a new BeanWiringInfo that points to the given bean name.
| |
| BeanWiringInfo | back to summary |
|---|---|
| public BeanWiringInfo(String beanName, boolean isDefaultBeanName) Create a new BeanWiringInfo that points to the given bean name.
| |
| BeanWiringInfo | back to summary |
|---|---|
| public BeanWiringInfo(int autowireMode, boolean dependencyCheck) Create a new BeanWiringInfo that indicates autowiring.
| |
| getAutowireMode | back to summary |
|---|---|
| public int getAutowireMode() Return one of the constants | |
| getBeanName | back to summary |
|---|---|
| public String getBeanName() Return the specific bean name that this BeanWiringInfo points to, if any.
| |
| getDependencyCheck | back to summary |
|---|---|
| public boolean getDependencyCheck() Return whether to perform a dependency check for object references in the bean instance (after autowiring). | |
| indicatesAutowiring | back to summary |
|---|---|
| public boolean indicatesAutowiring() Return whether this BeanWiringInfo indicates autowiring. | |
| isDefaultBeanName | back to summary |
|---|---|
| public boolean isDefaultBeanName() Return whether the specific bean name is a suggested default bean name, not necessarily matching an actual bean definition in the factory. | |