Package jakarta.faces.bean
Annotation Type RequestScoped
-
@Retention(RUNTIME) @Target(TYPE) @Inherited @Deprecated public @interface RequestScoped
Deprecated.This has been replaced byjakarta.enterprise.context.RequestScoped
, 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>request<managed-bean-scope>
element was declared for the corresponding managed bean.- Since:
- 2.0