javax.enterprise.context
Annotation Type NormalScope


@Target(value=ANNOTATION_TYPE)
@Retention(value=RUNTIME)
@Documented
public @interface NormalScope

Specifies that an annotation type is a normal scope type.

Author:
Gavin King, Pete Muir
See Also:
@Scope is used to declare pseudo-scopes.

Optional Element Summary
 boolean passivating
          Determines whether the normal scope type is a passivating scope.
 

passivating

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.

Returns:
true if the scope type is a passivating scope type
Default:
false


Submit a bug or feature

Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.

Generated on 10-February-2011 12:41