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 intTRANSACTION_SUPPORT_LOCAL_TRANSACTIONRepresents "LocalTransaction" forgetTransactionSupportValue().static intTRANSACTION_SUPPORT_NO_TRANSACTIONRepresents "NoTransaction" forgetTransactionSupportValue().static intTRANSACTION_SUPPORT_UNSPECIFIEDRepresents an unspecified value forgetTransactionSupportValue().static intTRANSACTION_SUPPORT_XA_TRANSACTIONRepresents "XATransaction" forgetTransactionSupportValue().
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetInterfaceNameValue()intgetMaxPoolSize()intgetMinPoolSize()java.util.List<Property>getProperties()java.lang.StringgetResourceAdapter()intgetTransactionSupportValue()booleanisSetMaxPoolSize()booleanisSetMinPoolSize()-
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_UNSPECIFIEDif 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
-
-