Annotation Interface SessionScoped


@Retention(RUNTIME) @Target(TYPE) @Inherited @Deprecated public @interface SessionScoped
Deprecated.
This has been replaced by jakarta.enterprise.context.SessionScoped, 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>session<managed-bean-scope> element was declared for the corresponding managed bean.

Since:
2.0