|
||||||||||
| 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're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, 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 final 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 namepublic 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 | |||||||||