-
@Target(TYPE) @Retention(RUNTIME) @Deprecated public @interface ManagedBean
Deprecated.This will be removed post Jakarta EE 10 and should be replaced with CDI beansTheManagedBean
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.
-
-
Element Detail
-
value
String value
Deprecated.The name of the Jakarta Managed Bean. Jakarta Managed Bean names must be unique within a Jakarta EE module. For each named Jakarta Managed Bean, Jakarta EE containers must make available the following entries in JNDI, using the same naming scheme used for Jakarta Enterprise Beans components.In the application namespace:
java:app/<module-name>/<bean-name>
In the module namespace of the module containing the Jakarta Managed Bean:
java:module/<bean-name>
- Default:
- ""
-
-