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