Package jakarta.faces.bean
Annotation Type ApplicationScoped
-
@Retention(RUNTIME) @Target(TYPE) @Inherited @Deprecated public @interface ApplicationScoped
Deprecated.This has been replaced byjakarta.enterprise.context.ApplicationScoped
, which is a CDI build-in scope with similar semantics.When this annotation, along with
ManagedBean
is found on a class, the runtime must act as if a<managed-bean-scope>application<managed-bean-scope>
element was declared for the corresponding managed bean.- Since:
- 2.0