public static enum SessionListener.Event extends java.lang.Enum<SessionListener.Event>
Enum Constant and Description |
---|
SESSION_CLEANUP
Session is not closing, but requires cleanup
|
SESSION_CLOSING_NORMALLY
Session is about to close normally
|
SESSION_CLOSING_WITH_ERROR
Session is about to close due to an error
|
TRANSACTION_COMMITTING
Transaction is about to be committed
|
Modifier and Type | Method and Description |
---|---|
static SessionListener.Event |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SessionListener.Event[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SessionListener.Event TRANSACTION_COMMITTING
public static final SessionListener.Event SESSION_CLEANUP
public static final SessionListener.Event SESSION_CLOSING_NORMALLY
public static final SessionListener.Event SESSION_CLOSING_WITH_ERROR
public static SessionListener.Event[] values()
for (SessionListener.Event c : SessionListener.Event.values()) System.out.println(c);
public static SessionListener.Event valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null