Enum Constant and Description |
---|
ETERNAL |
REQUEST |
SESSION
Deprecated.
As of Judson (7.1.x), with no direct replacement
|
Modifier and Type | Method and Description |
---|---|
static Lifecycle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Lifecycle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Lifecycle ETERNAL
public static final Lifecycle REQUEST
@Deprecated public static final Lifecycle SESSION
public static Lifecycle[] values()
for (Lifecycle c : Lifecycle.values()) System.out.println(c);
public static Lifecycle 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 null