Top Description Methods
javax.faces.bean

public @Interface ReferencedBean

extends Annotation
Annotations
@Retention:CLASS
@Target:TYPE
@Inherited
@Deprecated
Imports
java.lang.annotation.ElementType, .Retention, .RetentionPolicy, .Target, .Inherited

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

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

the referenced bean name.
name
()

Taken to be the referenced-bean-name.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

nameback to summary
public String name()

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

Returns:String

the referenced bean name.