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, @Nullable Object source) Create a new AliasDefinition. -
Method Summary
-
Constructor Details
-
AliasDefinition
-
AliasDefinition
-
-
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
-