public enum Scope extends Enum<Scope>
| Enum Constant and Description |
|---|
FLASH
todo : study more in depth how flash scoped is propagated to other phase, specially the resource phase todo : that
should kind of have an ID.
|
REQUEST |
SESSION |
SINGLETON |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends Annotation> |
getAnnotationType() |
abstract boolean |
isBuiltIn() |
static Scope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Scope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Scope SINGLETON
public static final Scope REQUEST
public static final Scope SESSION
public static final Scope FLASH
public static Scope[] values()
for (Scope c : Scope.values()) System.out.println(c);
public static Scope valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic abstract boolean isBuiltIn()
public Class<? extends Annotation> getAnnotationType()
Copyright © 2017 eXo Platform SAS. All rights reserved.