
public class ConnectableXAResourceWrapperImpl extends XAResourceWrapperImpl implements org.jboss.jca.core.spi.transaction.ConnectableResource
TMENDRSCAN, TMFAIL, TMJOIN, TMNOFLAGS, TMONEPHASE, TMRESUME, TMSTARTRSCAN, TMSUCCESS, TMSUSPEND, XA_OK, XA_RDONLY| Constructor and Description |
|---|
ConnectableXAResourceWrapperImpl(XAResource resource,
Boolean override,
String productName,
String productVersion,
String jndiName,
org.jboss.jca.core.spi.transaction.ConnectableResource cr)
Creates a new wrapper instance.
|
| Modifier and Type | Method and Description |
|---|---|
AutoCloseable |
getConnection()
Get a connection from the resource
|
commit, end, forget, getJndiName, getProductName, getProductVersion, getResource, getTransactionTimeout, isSameRM, prepare, recover, rollback, setTransactionTimeout, startpublic ConnectableXAResourceWrapperImpl(XAResource resource, Boolean override, String productName, String productVersion, String jndiName, org.jboss.jca.core.spi.transaction.ConnectableResource cr)
resource - xaresourceoverride - overrideproductName - product nameproductVersion - product versionjndiName - jndi namecr - connectable resourcepublic AutoCloseable getConnection() throws Exception
getConnection in interface org.jboss.jca.core.spi.transaction.ConnectableResourceException - If an error occursCopyright © 2013 IronJacamar (http://www.ironjacamar.org)