Annotation Type ReferencedBean


@Retention(CLASS)
@Target(TYPE)
@Inherited
@Deprecated
public @interface 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.

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
    String name
    Deprecated.
    Taken to be the referenced-bean-name.
  • Element Details

    • name

      String name
      Deprecated.

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

      Returns:
      the referenced bean name.
      Default:
      ""