Annotation Type ReferencedBean


  • Deprecated. 
    The referenced-bean concept was used for a design time promise which however did not achieve widespread adoption. There is no direct replacement for this other than using the XML variant in faces-config.xml.

    @Retention(CLASS)
    @Target(TYPE)
    @Inherited
    @Deprecated
    public @interface ReferencedBean

    The presence of this annotation on a class is equivalent to the referenced-bean element in the application configuration resources.

    Since:
    2.0
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String name
      Deprecated. 
      Taken to be the referenced-bean-name.
    • Element Detail

      • name

        java.lang.String name
        Deprecated. 

        Taken to be the referenced-bean-name. See class documentation for ManagedBean for details.

        Returns:
        the referenced bean name.
        Default:
        ""