javax.enterprise.context.SessionScoped
,
which is a CDI build-in scope with similar semantics.@Retention(value=RUNTIME)
@Target(value=TYPE)
@Inherited
@Deprecated
public @interface SessionScoped
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.