All Implemented Interfaces:
AttributeAccessor, BeanMetadataElement
All Known Implementing Classes:
AnnotatedGenericBeanDefinition, AnnotatedBeanDefinition, AbstractBeanDefinition, ChildBeanDefinition, ScannedGenericBeanDefinition, RootBeanDefinition, GenericBeanDefinition
This is just a minimal interface: The main intention is to allow a BeanFactoryPostProcessor such as PropertyPlaceholderConfigurer to introspect and modify property values and other bean metadata.
Juergen - HoellerRob - Harrop19.03.2004 - | Field Summary | ||
|---|---|---|
| String | SCOPE_SINGLETON | Scope identifier for the standard singleton scope: "singleton".
Note that extended bean factories might support further scopes.
|
| String | SCOPE_PROTOTYPE | Scope identifier for the standard prototype scope: "prototype".
Note that extended bean factories might support further scopes.
|
| int | ROLE_APPLICATION | Role hint indicating that a BeanDefinition is a major part
of the application. Typically corresponds to a user-defined bean. |
| int | ROLE_SUPPORT | Role hint indicating that a BeanDefinition is a supporting
part of some larger configuration, typically an outer
org.springframework.beans.factory.parsing.ComponentDefinition .
SUPPORT beans are considered important enough to be aware
of when looking more closely at a particular
org.springframework.beans.factory.parsing.ComponentDefinition ,
but not when looking at the overall configuration of an application. |
| int | ROLE_INFRASTRUCTURE | Role hint indicating that a BeanDefinition is providing an
entirely background role and has no relevance to the end-user. This hint is
used when registering beans that are completely part of the internal workings
of a org.springframework.beans.factory.parsing.ComponentDefinition . |
| Method from org.springframework.beans.factory.config.BeanDefinition Summary: |
|---|
| getBeanClassName, getConstructorArgumentValues, getDescription, getFactoryBeanName, getFactoryMethodName, getOriginatingBeanDefinition, getParentName, getPropertyValues, getResourceDescription, getRole, getScope, isAbstract, isAutowireCandidate, isLazyInit, isSingleton, setAutowireCandidate, setBeanClassName, setFactoryBeanName, setFactoryMethodName, setParentName, setScope |
| Method from org.springframework.beans.factory.config.BeanDefinition Detail: |
|---|
Note that this does not have to be the actual class name used at runtime, in case of a child definition overriding/inheriting the class name from its parent. Hence, do not consider this to be the definitive bean type at runtime but rather only use it for parsing purposes at the individual bean definition level. |
The returned instance can be modified during bean factory post-processing. |
|
|
|
null if none.
Allows for retrieving the decorated bean definition, if any.
Note that this method returns the immediate originator. Iterate through the originator chain to find the original BeanDefinition as defined by the user. |
|
The returned instance can be modified during bean factory post-processing. |
|
BeanDefinition. The role hint
provides tools with an indication of the importance of a particular
BeanDefinition. |
|
|
|
|
|
|
The class name can be modified during bean factory post-processing, typically replacing the original class name with a parsed variant of it. |
|
|
|
|