|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ReplicationTrigger>
org.jboss.metadata.web.jboss.ReplicationTrigger
public enum ReplicationTrigger
Enum Constant Summary | |
---|---|
ACCESS
Merely accessing the session marks the session as dirty |
|
SET
Only calling setAttribute() marks the session as dirty |
|
SET_AND_GET
Calling setAttribute() or getAttribute() marks the session as dirty |
|
SET_AND_NON_PRIMITIVE_GET
Calling setAttribute() marks the session as dirty, as does getAttribute() if the returned type is not String or Number |
Method Summary | |
---|---|
static ReplicationTrigger |
fromInt(int ordinal)
|
static ReplicationTrigger |
fromString(String policy)
|
static ReplicationTrigger |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ReplicationTrigger[] |
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 ReplicationTrigger ACCESS
public static final ReplicationTrigger SET_AND_GET
public static final ReplicationTrigger SET_AND_NON_PRIMITIVE_GET
public static final ReplicationTrigger SET
Method Detail |
---|
public static ReplicationTrigger[] values()
for (ReplicationTrigger c : ReplicationTrigger.values()) System.out.println(c);
public static ReplicationTrigger 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 nullpublic static ReplicationTrigger fromString(String policy)
public static ReplicationTrigger fromInt(int ordinal)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |