public static enum XAStatefulHolder.State extends Enum<XAStatefulHolder.State>
| Enum Constant and Description |
|---|
ACCESSIBLE
The state in which the resource is when it out of the pool but accessible by the application.
|
CLOSED
The state in which the resource is when it is closed and unusable.
|
IN_POOL
The state in which the resource is when it is available in the pool.
|
NOT_ACCESSIBLE
The state in which the resource is when it out of the pool but not accessible by the application.
|
| Modifier and Type | Method and Description |
|---|---|
static XAStatefulHolder.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XAStatefulHolder.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XAStatefulHolder.State CLOSED
public static final XAStatefulHolder.State IN_POOL
public static final XAStatefulHolder.State ACCESSIBLE
public static final XAStatefulHolder.State NOT_ACCESSIBLE
public static XAStatefulHolder.State[] values()
for (XAStatefulHolder.State c : XAStatefulHolder.State.values()) System.out.println(c);
public static XAStatefulHolder.State 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 © 2006-2016 Bitronix Software. All Rights Reserved.