
public class ConnectableXAResourceWrapperImpl extends XAResourceWrapperImpl 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 |
|---|
ConnectableXAResourceWrapperImpl(XAResource resource,
boolean pad,
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 |
|---|---|
boolean |
equals(Object object) |
AutoCloseable |
getConnection()
Get a connection from the resource
|
int |
hashCode() |
commit, end, forget, getJndiName, getProductName, getProductVersion, getResource, getTransactionTimeout, isSameRM, prepare, recover, rollback, setTransactionTimeout, start, toStringpublic ConnectableXAResourceWrapperImpl(XAResource resource, boolean pad, Boolean override, String productName, String productVersion, String jndiName, org.jboss.jca.core.spi.transaction.ConnectableResource cr)
resource - xaresourcepad - padoverride - overrideproductName - product nameproductVersion - product versionjndiName - jndi namecr - connectable resourcepublic AutoCloseable getConnection() throws Exception
getConnection in interface org.jboss.tm.ConnectableResourceException - If an error occurspublic boolean equals(Object object)
equals in class XAResourceWrapperImplpublic int hashCode()
hashCode in class XAResourceWrapperImplCopyright © 2013 IronJacamar (http://www.ironjacamar.org)