|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<LoadSemantics>
de.fzj.unicore.wsrflite.persistence.LoadSemantics
public enum LoadSemantics
Load semantics specify the behaviour of the persistence layer with respect to loading ws-resources
| Enum Constant Summary | |
|---|---|
LOAD_ONCE
load the WS-Resource into memory, and keep it there for the lifetime of the server Changes to the instance will be persisted to disk |
|
NORMAL
use the "normal" way of persisting instances: the WS Resource is loaded into memory only for the duration of the request |
|
| Method Summary | |
|---|---|
static LoadSemantics |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static LoadSemantics[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final LoadSemantics NORMAL
public static final LoadSemantics LOAD_ONCE
| Method Detail |
|---|
public static LoadSemantics[] values()
for (LoadSemantics c : LoadSemantics.values()) System.out.println(c);
public static LoadSemantics valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||