public enum ConnectionManagementType extends Enum<ConnectionManagementType>
Enum Constant and Description |
---|
CACHED
Connections are cached
|
NONE
Connections are created upon operation execution
and destroyed when operation finished
|
POOLING
Connections are pooled
|
Modifier and Type | Method and Description |
---|---|
static ConnectionManagementType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConnectionManagementType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnectionManagementType POOLING
public static final ConnectionManagementType CACHED
public static final ConnectionManagementType NONE
public static ConnectionManagementType[] values()
for (ConnectionManagementType c : ConnectionManagementType.values()) System.out.println(c);
public static ConnectionManagementType 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 © 2018. All rights reserved.