Enum ConnectorConstants.PoolType
- java.lang.Object
-
- java.lang.Enum<ConnectorConstants.PoolType>
-
- com.sun.appserv.connectors.internal.api.ConnectorConstants.PoolType
-
- All Implemented Interfaces:
Serializable
,Comparable<ConnectorConstants.PoolType>
- Enclosing interface:
- ConnectorConstants
public static enum ConnectorConstants.PoolType extends Enum<ConnectorConstants.PoolType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ASSOCIATE_WITH_THREAD_POOL
PARTITIONED_POOL
POOLING_DISABLED
STANDARD_POOL
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ConnectorConstants.PoolType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ConnectorConstants.PoolType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ASSOCIATE_WITH_THREAD_POOL
public static final ConnectorConstants.PoolType ASSOCIATE_WITH_THREAD_POOL
-
STANDARD_POOL
public static final ConnectorConstants.PoolType STANDARD_POOL
-
PARTITIONED_POOL
public static final ConnectorConstants.PoolType PARTITIONED_POOL
-
POOLING_DISABLED
public static final ConnectorConstants.PoolType POOLING_DISABLED
-
-
Method Detail
-
values
public static ConnectorConstants.PoolType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ConnectorConstants.PoolType c : ConnectorConstants.PoolType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConnectorConstants.PoolType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-