@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface ManagedBean
ManagedBean
annotation marks a POJO (Plain Old Java Object)
as a ManagedBean. A ManagedBean supports a small set of basic services
such as resource injection, lifecycle callbacks and interceptors.Modifier and Type | Optional Element and Description |
---|---|
java.lang.String |
value
The name of the Managed Bean.
|
public abstract java.lang.String value
In the application namespace:
java:app/<module-name>/<bean-name>
In the module namespace of the module containing the Managed Bean:
java:module/<bean-name>