
public class LocalConnectableXAResourceImpl extends LocalXAResourceImpl implements org.jboss.jca.core.spi.transaction.ConnectableResource, org.jboss.tm.ConnectableResource
TMENDRSCAN, TMFAIL, TMJOIN, TMNOFLAGS, TMONEPHASE, TMRESUME, TMSTARTRSCAN, TMSUCCESS, TMSUSPEND, XA_OK, XA_RDONLY| Constructor and Description |
|---|
LocalConnectableXAResourceImpl(String productName,
String productVersion,
String jndiName,
org.jboss.jca.core.spi.transaction.ConnectableResource cr)
Creates a new 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, setConnectionListener, setConnectionManager, setTransactionTimeout, start, toStringpublic LocalConnectableXAResourceImpl(String productName, String productVersion, String jndiName, org.jboss.jca.core.spi.transaction.ConnectableResource cr)
productName - product nameproductVersion - product versionjndiName - jndi namecr - connectable resourcepublic AutoCloseable getConnection() throws Exception
getConnection in interface org.jboss.tm.ConnectableResourceException - If an error occursCopyright © 2013 IronJacamar (http://www.ironjacamar.org)