
public class TransactionIntegrationImpl extends java.lang.Object implements TransactionIntegration
| Constructor and Description |
|---|
TransactionIntegrationImpl(javax.transaction.TransactionManager tm,
javax.transaction.TransactionSynchronizationRegistry tsr,
org.jboss.tm.usertx.UserTransactionRegistry utr,
org.jboss.tm.JBossXATerminator terminator,
org.jboss.tm.XAResourceRecoveryRegistry rr)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
LocalXAResource |
createConnectableLocalXAResource(ConnectionManager cm,
java.lang.String productName,
java.lang.String productVersion,
java.lang.String jndiName,
ConnectableResource cr,
XAResourceStatistics xastat)
Create a connectable LocalXAResource instance
|
LocalXAResource |
createConnectableLocalXAResource(ConnectionManager cm,
java.lang.String productName,
java.lang.String productVersion,
java.lang.String jndiName,
javax.resource.spi.ManagedConnection mc,
XAResourceStatistics xastat)
Create a connectable LocalXAResource instance
|
XAResourceWrapper |
createConnectableXAResourceWrapper(javax.transaction.xa.XAResource xares,
boolean pad,
java.lang.Boolean override,
java.lang.String productName,
java.lang.String productVersion,
java.lang.String jndiName,
ConnectableResource cr,
XAResourceStatistics xastat)
Create a connectable XAResource wrapper instance
|
XAResourceWrapper |
createConnectableXAResourceWrapper(javax.transaction.xa.XAResource xares,
boolean pad,
java.lang.Boolean override,
java.lang.String productName,
java.lang.String productVersion,
java.lang.String jndiName,
javax.resource.spi.ManagedConnection mc,
XAResourceStatistics xastat)
Create a connectable XAResource wrapper instance
|
LocalXAResource |
createLocalXAResource(ConnectionManager cm,
java.lang.String productName,
java.lang.String productVersion,
java.lang.String jndiName,
XAResourceStatistics xastat)
Create a LocalXAResource instance
|
XAResourceRecovery |
createXAResourceRecovery(javax.resource.spi.ManagedConnectionFactory mcf,
java.lang.Boolean pad,
java.lang.Boolean override,
java.lang.Boolean wrapXAResource,
java.lang.String recoverUserName,
java.lang.String recoverPassword,
java.lang.String recoverSecurityDomain,
SubjectFactory subjectFactory,
RecoveryPlugin plugin,
XAResourceStatistics xastat)
Create an XAResourceRecovery instance
|
XAResourceRecovery |
createXAResourceRecovery(javax.resource.spi.ResourceAdapter rar,
javax.resource.spi.ActivationSpec as,
java.lang.String productName,
java.lang.String productVersion)
Create an XAResourceRecovery instance
|
XAResourceWrapper |
createXAResourceWrapper(javax.transaction.xa.XAResource xares,
boolean pad,
java.lang.Boolean override,
java.lang.String productName,
java.lang.String productVersion,
java.lang.String jndiName,
boolean firstResource,
XAResourceStatistics xastat)
Create an XAResource wrapper instance
|
java.lang.Object |
getIdentifier(javax.transaction.Transaction tx)
Get the identifier for the transaction
|
XAResourceRecoveryRegistry |
getRecoveryRegistry()
Get the recovery registry
|
javax.transaction.TransactionManager |
getTransactionManager()
Get the transaction manager
|
javax.transaction.TransactionSynchronizationRegistry |
getTransactionSynchronizationRegistry()
Get the transaction synchronization registry
|
UserTransactionRegistry |
getUserTransactionRegistry()
Get the user transaction registry
|
XATerminator |
getXATerminator()
Get the XATerminator
|
boolean |
isConnectableResource(javax.resource.spi.ManagedConnection mc)
Is a connectable resource
|
boolean |
isFirstResource(javax.resource.spi.ManagedConnection mc)
Is a first resource
|
public TransactionIntegrationImpl(javax.transaction.TransactionManager tm,
javax.transaction.TransactionSynchronizationRegistry tsr,
org.jboss.tm.usertx.UserTransactionRegistry utr,
org.jboss.tm.JBossXATerminator terminator,
org.jboss.tm.XAResourceRecoveryRegistry rr)
tm - The transaction managertsr - The transaction synchronization registryutr - The user transaction registryterminator - The XA terminatorrr - The recovery registrypublic javax.transaction.TransactionManager getTransactionManager()
getTransactionManager in interface TransactionIntegrationpublic javax.transaction.TransactionSynchronizationRegistry getTransactionSynchronizationRegistry()
getTransactionSynchronizationRegistry in interface TransactionIntegrationpublic UserTransactionRegistry getUserTransactionRegistry()
getUserTransactionRegistry in interface TransactionIntegrationpublic XAResourceRecoveryRegistry getRecoveryRegistry()
getRecoveryRegistry in interface TransactionIntegrationpublic XATerminator getXATerminator()
getXATerminator in interface TransactionIntegrationpublic XAResourceRecovery createXAResourceRecovery(javax.resource.spi.ResourceAdapter rar, javax.resource.spi.ActivationSpec as, java.lang.String productName, java.lang.String productVersion)
createXAResourceRecovery in interface TransactionIntegrationrar - The resource adapteras - The activation specproductName - The product nameproductVersion - The product versionpublic XAResourceRecovery createXAResourceRecovery(javax.resource.spi.ManagedConnectionFactory mcf, java.lang.Boolean pad, java.lang.Boolean override, java.lang.Boolean wrapXAResource, java.lang.String recoverUserName, java.lang.String recoverPassword, java.lang.String recoverSecurityDomain, SubjectFactory subjectFactory, RecoveryPlugin plugin, XAResourceStatistics xastat)
createXAResourceRecovery in interface TransactionIntegrationmcf - The managed connection factorypad - Should the branch qualifier for Xid's be paddedoverride - Should the isSameRM value be overriden; null for instance equally checkwrapXAResource - Should the XAResource be wrappedrecoverUserName - The user name for recoveryrecoverPassword - The password for recoveryrecoverSecurityDomain - The security domain for recoverysubjectFactory - The subject factoryplugin - The recovery pluginxastat - The XAResource statistics implementationpublic LocalXAResource createConnectableLocalXAResource(ConnectionManager cm, java.lang.String productName, java.lang.String productVersion, java.lang.String jndiName, ConnectableResource cr, XAResourceStatistics xastat)
createConnectableLocalXAResource in interface TransactionIntegrationcm - The connection managerproductName - The product nameproductVersion - The product versionjndiName - The JNDI name for the resourcecr - The connectable resourcexastat - The XAResource statistics implementationpublic LocalXAResource createConnectableLocalXAResource(ConnectionManager cm, java.lang.String productName, java.lang.String productVersion, java.lang.String jndiName, javax.resource.spi.ManagedConnection mc, XAResourceStatistics xastat)
createConnectableLocalXAResource in interface TransactionIntegrationcm - The connection managerproductName - The product nameproductVersion - The product versionjndiName - The JNDI name for the resourcemc - The managed connectionxastat - The XAResource statistics implementationpublic LocalXAResource createLocalXAResource(ConnectionManager cm, java.lang.String productName, java.lang.String productVersion, java.lang.String jndiName, XAResourceStatistics xastat)
createLocalXAResource in interface TransactionIntegrationcm - The connection managerproductName - The product nameproductVersion - The product versionjndiName - The JNDI name for the resourcexastat - The XAResource statistics implementationpublic XAResourceWrapper createConnectableXAResourceWrapper(javax.transaction.xa.XAResource xares, boolean pad, java.lang.Boolean override, java.lang.String productName, java.lang.String productVersion, java.lang.String jndiName, ConnectableResource cr, XAResourceStatistics xastat)
createConnectableXAResourceWrapper in interface TransactionIntegrationxares - The XAResource instancepad - Should the branch qualifier for Xid's be paddedoverride - Should the isSameRM value be overriden; null for instance equally checkproductName - The product nameproductVersion - The product versionjndiName - The JNDI name for the resourcecr - The connectable resourcexastat - The XAResource statistics implementationpublic XAResourceWrapper createConnectableXAResourceWrapper(javax.transaction.xa.XAResource xares, boolean pad, java.lang.Boolean override, java.lang.String productName, java.lang.String productVersion, java.lang.String jndiName, javax.resource.spi.ManagedConnection mc, XAResourceStatistics xastat)
createConnectableXAResourceWrapper in interface TransactionIntegrationxares - The XAResource instancepad - Should the branch qualifier for Xid's be paddedoverride - Should the isSameRM value be overriden; null for instance equally checkproductName - The product nameproductVersion - The product versionjndiName - The JNDI name for the resourcemc - The managed connectionxastat - The XAResource statistics implementationpublic XAResourceWrapper createXAResourceWrapper(javax.transaction.xa.XAResource xares, boolean pad, java.lang.Boolean override, java.lang.String productName, java.lang.String productVersion, java.lang.String jndiName, boolean firstResource, XAResourceStatistics xastat)
createXAResourceWrapper in interface TransactionIntegrationxares - The XAResource instancepad - Should the branch qualifier for Xid's be paddedoverride - Should the isSameRM value be overriden; null for instance equally checkproductName - The product nameproductVersion - The product versionjndiName - The JNDI name for the resourcefirstResource - Is the resource a first resourcexastat - The XAResource statistics implementationpublic boolean isFirstResource(javax.resource.spi.ManagedConnection mc)
isFirstResource in interface TransactionIntegrationmc - The managed connectionpublic boolean isConnectableResource(javax.resource.spi.ManagedConnection mc)
isConnectableResource in interface TransactionIntegrationmc - The managed connectionpublic java.lang.Object getIdentifier(javax.transaction.Transaction tx)
getIdentifier in interface TransactionIntegrationtx - The transactionCopyright © 2014 IronJacamar (http://www.ironjacamar.org)