java.lang.Object | ||
↳ | org.springframework.beans.factory.config.BeanDefinitionHolder | |
↳ | org.springframework.beans.factory.parsing.BeanComponentDefinition |
ComponentDefinition based on a standard BeanDefinition, exposing the given bean definition as well as inner bean definitions and bean references for the given bean.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a new BeanComponentDefinition for the given bean.
| |||||||||||
Create a new BeanComponentDefinition for the given bean.
| |||||||||||
Create a new BeanComponentDefinition for the given bean.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This implementations expects the other object to be of type BeanComponentDefinition
as well, in addition to the superclass's equality requirements.
| |||||||||||
Return the
BeanDefinitions that were registered
to form this ComponentDefinition . | |||||||||||
Return the set of
BeanReferences that are considered
to be important to this ComponentDefinition . | |||||||||||
Return a friendly description of the described component.
| |||||||||||
Return the
BeanDefinitions that represent all relevant
inner beans within this component. | |||||||||||
Get the user-visible name of this
ComponentDefinition . | |||||||||||
This implementation returns this ComponentDefinition's description.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.beans.factory.config.BeanDefinitionHolder
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.beans.BeanMetadataElement
| |||||||||||
From interface
org.springframework.beans.factory.parsing.ComponentDefinition
|
Create a new BeanComponentDefinition for the given bean.
beanDefinition | the BeanDefinition |
---|---|
beanName | the name of the bean |
Create a new BeanComponentDefinition for the given bean.
beanDefinition | the BeanDefinition |
---|---|
beanName | the name of the bean |
aliases | alias names for the bean, or null if none
|
Create a new BeanComponentDefinition for the given bean.
holder | the BeanDefinitionHolder encapsulating the bean definition as well as the name of the bean |
---|
This implementations expects the other object to be of type BeanComponentDefinition as well, in addition to the superclass's equality requirements.
Return the BeanDefinitions
that were registered
to form this ComponentDefinition
.
It should be noted that a ComponentDefinition
may well be related with
other BeanDefinitions
via references
,
however these are not included as they may be not available immediately.
Important BeanReferences
are available from getBeanReferences()
.
Return the set of BeanReferences
that are considered
to be important to this ComponentDefinition
.
Other BeanReferences
may exist within the associated
BeanDefinitions
, however these are not considered
to be needed for validation or for user visualization.
Return a friendly description of the described component.
Implementations are encouraged to return the same value from
toString()
.
Return the BeanDefinitions
that represent all relevant
inner beans within this component.
Other inner beans may exist within the associated BeanDefinitions
,
however these are not considered to be needed for validation or for user visualization.
Get the user-visible name of this ComponentDefinition
.
This should link back directly to the corresponding configuration data for this component in a given context.
This implementation returns this ComponentDefinition's description.