@Target(value=ANNOTATION_TYPE) @Retention(value=RUNTIME) @Documented public @interface NormalScope
Defines CDI scopes which have a well-defined lifecycle. Examples for such scopes
are RequestScoped
, SessionScoped
and ApplicationScoped
.
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 implement java.io.Serializable
.
Modifier and Type | Optional Element and Description |
---|---|
boolean |
passivating
Defines passivation semantic
|
Copyright © 2017. All rights reserved.