public class

AliasDefinition

extends Object
implements BeanMetadataElement
java.lang.Object
   ↳ org.springframework.beans.factory.parsing.AliasDefinition

Class Overview

Representation of an alias that has been registered during the parsing process.

Summary

Public Constructors
AliasDefinition(String beanName, String alias)
Create a new AliasDefinition.
AliasDefinition(String beanName, String alias, Object source)
Create a new AliasDefinition.
Public Methods
final String getAlias()
Return the alias registered for the bean.
final String getBeanName()
Return the canonical name of the bean.
final Object getSource()
Return the configuration source Object for this metadata element (may be null).
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.springframework.beans.BeanMetadataElement

Public Constructors

public AliasDefinition (String beanName, String alias)

Also: SpringBeans

Create a new AliasDefinition.

Parameters
beanName the canonical name of the bean
alias the alias registered for the bean

public AliasDefinition (String beanName, String alias, Object source)

Also: SpringBeans

Create 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)

Public Methods

public final String getAlias ()

Also: SpringBeans

Return the alias registered for the bean.

public final String getBeanName ()

Also: SpringBeans

Return the canonical name of the bean.

public final Object getSource ()

Also: SpringBeans

Return the configuration source Object for this metadata element (may be null).