public class ConnectableXAResourceWrapperImpl extends XAResourceWrapperImpl implements ConnectableResource
| Constructor and Description |
|---|
ConnectableXAResourceWrapperImpl(javax.transaction.xa.XAResource resource,
java.lang.Boolean override,
java.lang.String productName,
java.lang.String productVersion,
java.lang.String jndiName,
ConnectableResource cr)
Creates a new wrapper instance.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.AutoCloseable |
getConnection()
Get a connection from the resource
|
commit, end, forget, getJndiName, getProductName, getProductVersion, getResource, getTransactionTimeout, isSameRM, prepare, recover, rollback, setTransactionTimeout, startpublic ConnectableXAResourceWrapperImpl(javax.transaction.xa.XAResource resource,
java.lang.Boolean override,
java.lang.String productName,
java.lang.String productVersion,
java.lang.String jndiName,
ConnectableResource cr)
resource - xaresourceoverride - overrideproductName - product nameproductVersion - product versionjndiName - jndi namecr - connectable resourcepublic java.lang.AutoCloseable getConnection()
throws java.lang.Exception
getConnection in interface ConnectableResourcejava.lang.Exception - If an error occursCopyright © 2013 IronJacamar (http://www.ironjacamar.org)