Class AliasDefinition
java.lang.Object
org.springframework.beans.factory.parsing.AliasDefinition
- All Implemented Interfaces:
- BeanMetadataElement
Representation of an alias that has been registered during the parsing process.
- Since:
- 2.0
- Author:
- Juergen Hoeller
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionAliasDefinition(String beanName, String alias) Create a new AliasDefinition.AliasDefinition(String beanName, String alias, @Nullable Object source) Create a new AliasDefinition.
- 
Method Summary
- 
Constructor Details- 
AliasDefinitionCreate a new AliasDefinition.- Parameters:
- beanName- the canonical name of the bean
- alias- the alias registered for the bean
 
- 
AliasDefinitionCreate a new AliasDefinition.- Parameters:
- beanName- the canonical name of the bean
- alias- the alias registered for the bean
- source- the source object (may be- null)
 
 
- 
- 
Method Details- 
getBeanNameReturn the canonical name of the bean.
- 
getAliasReturn the alias registered for the bean.
- 
getSourceDescription copied from interface:BeanMetadataElementReturn the configuration sourceObjectfor this metadata element (may benull).- Specified by:
- getSourcein interface- BeanMetadataElement
 
 
-