public static enum Notifications.LifecycleEvent extends Enum<Notifications.LifecycleEvent>
Enum Constant and Description |
---|
BEGIN_TRANSACTION
A transaction has been started.
|
COMMIT_TRANSACTION
A transaction has been commited.
|
ROLLBACK_TRANSACTION
A transaction has been rolled back.
|
SHUTDOWN
A shutdown has been initiated.
|
START_SESSION
A session has been started.
|
Modifier and Type | Method and Description |
---|---|
static Notifications.LifecycleEvent |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Notifications.LifecycleEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Notifications.LifecycleEvent BEGIN_TRANSACTION
public static final Notifications.LifecycleEvent COMMIT_TRANSACTION
public static final Notifications.LifecycleEvent ROLLBACK_TRANSACTION
public static final Notifications.LifecycleEvent SHUTDOWN
public static final Notifications.LifecycleEvent START_SESSION
public static Notifications.LifecycleEvent[] values()
for (Notifications.LifecycleEvent c : Notifications.LifecycleEvent.values()) System.out.println(c);
public static Notifications.LifecycleEvent 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 © 2013–2015. All rights reserved.