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