public enum LocalStatus extends Enum<LocalStatus>
Transaction
) might be.Enum Constant and Description |
---|
ACTIVE
The local transaction has been begun, but not yet completed.
|
COMMITTED
The local transaction has been competed successfully.
|
FAILED_COMMIT
The local transaction attempted to commit, but failed.
|
NOT_ACTIVE
The local transaction has not yet been begun
|
ROLLED_BACK
The local transaction has been rolled back.
|
Modifier and Type | Method and Description |
---|---|
static LocalStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LocalStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LocalStatus NOT_ACTIVE
public static final LocalStatus ACTIVE
public static final LocalStatus COMMITTED
public static final LocalStatus ROLLED_BACK
public static final LocalStatus FAILED_COMMIT
public static LocalStatus[] values()
for (LocalStatus c : LocalStatus.values()) System.out.println(c);
public static LocalStatus 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 © 2012 JBoss by Red Hat. All Rights Reserved.