@Target(value=ANNOTATION_TYPE) @Retention(value=RUNTIME) @Documented public @interface NormalScope
Specifies that an annotation type is a normal scope type.
@Scope is used to declare pseudo-scopes.
Modifier and Type | Optional Element and Description |
---|---|
boolean |
passivating
Determines whether the normal scope type is a passivating scope.
|
public abstract boolean passivating
Determines whether the normal scope type is a passivating scope.
A bean is called passivation capable if the container is able to temporarily transfer the state of any idle instance to secondary storage. A passivating scope requires that beans with the scope are passivation capable.
Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.