Serializable, Comparable<Lifecycle.Type>public static enum Lifecycle.Type extends Enum<Lifecycle.Type>
| Enum Constant | Description |
|---|---|
CONTEXT |
Bean-Instanz lebt fuer die Dauer der Anwendung.
|
REQUEST |
Bean-Instanz lebt lediglich fuer die Dauer eines einzelnen Requests.
|
SESSION |
Bean-Instanz lebt fuer die Dauer der Session (des Users).
|
| Modifier and Type | Method | Description |
|---|---|---|
static Lifecycle.Type |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static Lifecycle.Type[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Lifecycle.Type CONTEXT
public static final Lifecycle.Type SESSION
public static final Lifecycle.Type REQUEST
public static Lifecycle.Type[] values()
for (Lifecycle.Type c : Lifecycle.Type.values()) System.out.println(c);
public static Lifecycle.Type 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 nullCopyright © 2018. All rights reserved.