Package org.jboss.jca.as.converters
Enum ConnectionFactory.Tag
- java.lang.Object
-
- java.lang.Enum<ConnectionFactory.Tag>
-
- org.jboss.jca.as.converters.ConnectionFactory.Tag
-
- All Implemented Interfaces:
Serializable,Comparable<ConnectionFactory.Tag>
- Enclosing interface:
- ConnectionFactory
public static enum ConnectionFactory.Tag extends Enum<ConnectionFactory.Tag>
A Tag.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALLOCATION_RETRYallocationRetry tagALLOCATION_RETRY_WAIT_MILLISallocationRetryWaitMillis tagBACKGROUND_VALIDATIONbackgroundValidation tagBACKGROUND_VALIDATION_MILLISbackgroundValidationMillis tagBLOCKING_TIMEOUT_MILLISblockingTimeoutMillis tagIDLE_TIMEOUT_MINUTESidleTimeoutMinutes tagJNDI_NAMEjndiName tagMAX_POOL_SIZEmaxPoolSize tagMIN_POOL_SIZEmin-pool-size tagPREFILLprefill tagSECURITY_DOMAINsecurity-domain tagSECURITY_DOMAIN_AND_APPLICATIONsecurity-domain-and-application tagUNKNOWNalways firstUSE_FAST_FAILuseFastFail tag
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConnectionFactory.TagforName(String localName)Static method to get enum instance given localName XsdStringStringgetLocalName()Get the local name of this element.StringtoString()static ConnectionFactory.TagvalueOf(String name)Returns the enum constant of this type with the specified name.static ConnectionFactory.Tag[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final ConnectionFactory.Tag UNKNOWN
always first
-
JNDI_NAME
public static final ConnectionFactory.Tag JNDI_NAME
jndiName tag
-
SECURITY_DOMAIN
public static final ConnectionFactory.Tag SECURITY_DOMAIN
security-domain tag
-
SECURITY_DOMAIN_AND_APPLICATION
public static final ConnectionFactory.Tag SECURITY_DOMAIN_AND_APPLICATION
security-domain-and-application tag
-
MIN_POOL_SIZE
public static final ConnectionFactory.Tag MIN_POOL_SIZE
min-pool-size tag
-
MAX_POOL_SIZE
public static final ConnectionFactory.Tag MAX_POOL_SIZE
maxPoolSize tag
-
BLOCKING_TIMEOUT_MILLIS
public static final ConnectionFactory.Tag BLOCKING_TIMEOUT_MILLIS
blockingTimeoutMillis tag
-
BACKGROUND_VALIDATION
public static final ConnectionFactory.Tag BACKGROUND_VALIDATION
backgroundValidation tag
-
BACKGROUND_VALIDATION_MILLIS
public static final ConnectionFactory.Tag BACKGROUND_VALIDATION_MILLIS
backgroundValidationMillis tag
-
IDLE_TIMEOUT_MINUTES
public static final ConnectionFactory.Tag IDLE_TIMEOUT_MINUTES
idleTimeoutMinutes tag
-
ALLOCATION_RETRY
public static final ConnectionFactory.Tag ALLOCATION_RETRY
allocationRetry tag
-
ALLOCATION_RETRY_WAIT_MILLIS
public static final ConnectionFactory.Tag ALLOCATION_RETRY_WAIT_MILLIS
allocationRetryWaitMillis tag
-
PREFILL
public static final ConnectionFactory.Tag PREFILL
prefill tag
-
USE_FAST_FAIL
public static final ConnectionFactory.Tag USE_FAST_FAIL
useFastFail tag
-
-
Method Detail
-
values
public static ConnectionFactory.Tag[] 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 (ConnectionFactory.Tag c : ConnectionFactory.Tag.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConnectionFactory.Tag 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
-
getLocalName
public String getLocalName()
Get the local name of this element.- Returns:
- the local name
-
toString
public String toString()
- Overrides:
toStringin classEnum<ConnectionFactory.Tag>
-
forName
public static ConnectionFactory.Tag forName(String localName)
Static method to get enum instance given localName XsdString- Parameters:
localName- a XsdString used as localname (typically tag name as defined in xsd)- Returns:
- the enum instance
-
-