javax.enterprise.context
Annotation Type ScopeType
@Target(value=ANNOTATION_TYPE)
@Retention(value=RUNTIME)
@Documented
public @interface ScopeType
Specifies that an annotation type is a scope type.
- Author:
- Gavin King, Pete Muir
normal
public abstract boolean normal
- Returns:
- true if this is a normal scope
- Default:
- true
passivating
public abstract boolean passivating
- Returns:
- true if this is a passivating scope (beans with this scope
type must be serializable)
- Default:
- false
Copyright © 2008-2009. All Rights Reserved.