public enum TransactionEventType extends Enum<TransactionEventType>
types of
TransactionEvents.| Enum Constant and Description |
|---|
COMMIT
This event type is send if a transaction has been committed.
|
CONTINUE
This event type is send after a
COMMIT if a new transaction has
opened in case of an intermediate
commit. |
ROLLBACK
This event type is send if a rollback of some transaction was performed.
|
START
This event type is send if a
transactional
execution has been started. |
STOP
This event type is send if a
transactional
execution has terminated. |
| Modifier and Type | Method and Description |
|---|---|
static TransactionEventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransactionEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransactionEventType START
transactional
execution has been started.public static final TransactionEventType CONTINUE
COMMIT if a new transaction has
opened in case of an intermediate
commit.public static final TransactionEventType COMMIT
TransactionAdapter.commit()public static final TransactionEventType ROLLBACK
TransactionAdapter.rollback()public static final TransactionEventType STOP
transactional
execution has terminated.public static TransactionEventType[] values()
for (TransactionEventType c : TransactionEventType.values()) System.out.println(c);
public static TransactionEventType 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 © 2001–2016 mmm-Team. All rights reserved.