Package javax.enterprise.context
Annotation Type NormalScope
-
@Target(ANNOTATION_TYPE) @Retention(RUNTIME) @Documented public @interface NormalScope
Defines CDI scopes which have a well-defined lifecycle. Examples for such scopes are
RequestScoped
,SessionScoped
andApplicationScoped
.Beans of such a scope will get a normalscoping proxy (Contextual Reference) for every injection.
If a NormalScope is
passivating
then all it's Contextual Instances need to implementjava.io.Serializable
.- Version:
- $Rev: 1667118 $ $Date: 2015-03-16 21:08:25 +0100 (Mon, 16 Mar 2015) $
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description boolean
passivating
Defines passivation semantic
-