Package com.ibm.ws.javaee.dd.common
Interface ConnectionFactory
-
- All Superinterfaces:
Describable
,JNDIEnvironmentRef
public interface ConnectionFactory extends JNDIEnvironmentRef, Describable
Represents <connection-factory>.
-
-
Field Summary
Fields Modifier and Type Field Description static int
TRANSACTION_SUPPORT_LOCAL_TRANSACTION
Represents "LocalTransaction" forgetTransactionSupportValue()
.static int
TRANSACTION_SUPPORT_NO_TRANSACTION
Represents "NoTransaction" forgetTransactionSupportValue()
.static int
TRANSACTION_SUPPORT_UNSPECIFIED
Represents an unspecified value forgetTransactionSupportValue()
.static int
TRANSACTION_SUPPORT_XA_TRANSACTION
Represents "XATransaction" forgetTransactionSupportValue()
.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getInterfaceNameValue()
int
getMaxPoolSize()
int
getMinPoolSize()
java.util.List<Property>
getProperties()
java.lang.String
getResourceAdapter()
int
getTransactionSupportValue()
boolean
isSetMaxPoolSize()
boolean
isSetMinPoolSize()
-
Methods inherited from interface com.ibm.ws.javaee.dd.common.Describable
getDescriptions
-
Methods inherited from interface com.ibm.ws.javaee.dd.common.JNDIEnvironmentRef
getName
-
-
-
-
Field Detail
-
TRANSACTION_SUPPORT_UNSPECIFIED
static final int TRANSACTION_SUPPORT_UNSPECIFIED
Represents an unspecified value forgetTransactionSupportValue()
.- See Also:
- Constant Field Values
-
TRANSACTION_SUPPORT_NO_TRANSACTION
static final int TRANSACTION_SUPPORT_NO_TRANSACTION
Represents "NoTransaction" forgetTransactionSupportValue()
.- See Also:
- Constant Field Values
-
TRANSACTION_SUPPORT_LOCAL_TRANSACTION
static final int TRANSACTION_SUPPORT_LOCAL_TRANSACTION
Represents "LocalTransaction" forgetTransactionSupportValue()
.- See Also:
- Constant Field Values
-
TRANSACTION_SUPPORT_XA_TRANSACTION
static final int TRANSACTION_SUPPORT_XA_TRANSACTION
Represents "XATransaction" forgetTransactionSupportValue()
.- See Also:
- Constant Field Values
-
-
Method Detail
-
getInterfaceNameValue
java.lang.String getInterfaceNameValue()
- Returns:
- <interface-name>
-
getResourceAdapter
java.lang.String getResourceAdapter()
- Returns:
- <resource-adapter>
-
isSetMaxPoolSize
boolean isSetMaxPoolSize()
- Returns:
- true if <max-pool-size> is specified
- See Also:
getMaxPoolSize()
-
getMaxPoolSize
int getMaxPoolSize()
- Returns:
- <max-pool-size> if specified
- See Also:
isSetMaxPoolSize()
-
isSetMinPoolSize
boolean isSetMinPoolSize()
- Returns:
- true if <min-pool-size> is specified
- See Also:
getMinPoolSize()
-
getMinPoolSize
int getMinPoolSize()
- Returns:
- <min-pool-size> if specified
- See Also:
isSetMinPoolSize()
-
getTransactionSupportValue
int getTransactionSupportValue()
- Returns:
- <transaction-support>
TRANSACTION_SUPPORT_UNSPECIFIED
if unspecifiedTRANSACTION_SUPPORT_NO_TRANSACTION
- NoTransactionTRANSACTION_SUPPORT_LOCAL_TRANSACTION
- LocalTransactionTRANSACTION_SUPPORT_XA_TRANSACTION
- XATransaction
-
getProperties
java.util.List<Property> getProperties()
- Returns:
- <property> as a read-only list
-
-