public class AliasDefinition extends Object implements BeanMetadataElement
ReaderEventListener.aliasRegistered(AliasDefinition)
Constructor and Description |
---|
AliasDefinition(String beanName,
String alias)
Create a new AliasDefinition.
|
AliasDefinition(String beanName,
String alias,
Object source)
Create a new AliasDefinition.
|
public AliasDefinition(String beanName, String alias)
beanName
- the canonical name of the beanalias
- the alias registered for the beanpublic final String getBeanName()
public final String getAlias()
public final Object getSource()
BeanMetadataElement
Object
for this metadata element
(may be null
).getSource
in interface BeanMetadataElement