org.springframework.beans.factory.parsing

Class AliasDefinition

  • java.lang.Object
    • org.springframework.beans.factory.parsing.AliasDefinition
    • Constructor Summary

      Constructors 
      Constructor and Description
      AliasDefinition(java.lang.String beanName, java.lang.String alias)
      Create a new AliasDefinition.
      AliasDefinition(java.lang.String beanName, java.lang.String alias, java.lang.Object source)
      Create a new AliasDefinition.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getAlias()
      Return the alias registered for the bean.
      java.lang.String getBeanName()
      Return the canonical name of the bean.
      java.lang.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

      • AliasDefinition

        public AliasDefinition(java.lang.String beanName,
                               java.lang.String alias)
        Create a new AliasDefinition.
        Parameters:
        beanName - the canonical name of the bean
        alias - the alias registered for the bean
      • AliasDefinition

        public AliasDefinition(java.lang.String beanName,
                               java.lang.String alias,
                               @Nullable
                               java.lang.Object source)
        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)
    • Method Detail

      • getBeanName

        public final java.lang.String getBeanName()
        Return the canonical name of the bean.
      • getAlias

        public final java.lang.String getAlias()
        Return the alias registered for the bean.