Annotation Type BeanAlias


Annotation defining a bean name as an alias for an existing bean id.
Author:
Jeff Fischer
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The alias that should be registered in Spring for the bean.
    The existing bean name.
  • Element Details

    • name

      String name
      The existing bean name.
      Returns:
      The existing bean name.
    • alias

      String alias
      The alias that should be registered in Spring for the bean. Components my inject the original bean based on this alias.
      Returns:
      The alias that should be registered in Spring for the bean.