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 Summary
ConstructorsConstructorDescriptionAliasDefinition(String beanName, String alias) Create a new AliasDefinition.AliasDefinition(String beanName, String alias, Object source) Create a new AliasDefinition. - 
Method Summary
 
- 
Constructor Details
- 
AliasDefinition
Create a new AliasDefinition.- Parameters:
 beanName- the canonical name of the beanalias- the alias registered for the bean
 - 
AliasDefinition
Create a new AliasDefinition.- Parameters:
 beanName- the canonical name of the beanalias- the alias registered for the beansource- the source object (may benull)
 
 - 
 - 
Method Details
- 
getBeanName
Return the canonical name of the bean. - 
getAlias
Return the alias registered for the bean. - 
getSource
Description copied from interface:BeanMetadataElementReturn the configuration sourceObjectfor this metadata element (may benull).- Specified by:
 getSourcein interfaceBeanMetadataElement
 
 -