|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.beans.factory.parsing.AliasDefinition
public class AliasDefinition
Representation of an alias that has been registered during the parsing process.
ReaderEventListener.aliasRegistered(AliasDefinition)| Constructor Summary | |
|---|---|
AliasDefinition(String beanName,
String alias)
Create a new AliasDefinition. |
|
AliasDefinition(String beanName,
String alias,
Object source)
Create a new AliasDefinition. |
|
| Method Summary | |
|---|---|
String |
getAlias()
Return the alias registered for the bean. |
String |
getBeanName()
Return the canonical name of the bean. |
Object |
getSource()
Return the configuration source Object for this metadata element
(may be null). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AliasDefinition(String beanName,
String alias)
beanName - the canonical name of the beanalias - the alias registered for the bean
public AliasDefinition(String beanName,
String alias,
Object source)
beanName - the canonical name of the beanalias - the alias registered for the beansource - the source object (may be null)| Method Detail |
|---|
public final String getBeanName()
public final String getAlias()
public final Object getSource()
BeanMetadataElementObject for this metadata element
(may be null).
getSource in interface BeanMetadataElement
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||