|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TransactionIntegration

This interface defines the contract for a transaction manager integration
with the IronJacamar container.
The methods allows the IronJacamar container to create or get transaction
related information from the transaction manager implementation and allows
the implementation of this information to be specific for each instance of
this interface.
If a feature isn't supported by the transaction manager a null
value should be returned. That way it is disabled in the IronJacamar container.
| Method Summary | |
|---|---|
LocalXAResource |
createLocalXAResource(ConnectionManager cm)
Create a LocalXAResource instance |
XAResourceRecovery |
createXAResourceRecovery(javax.resource.spi.ManagedConnectionFactory mcf,
Boolean pad,
Boolean override,
Boolean wrapXAResource,
String recoverUserName,
String recoverPassword,
String recoverSecurityDomain,
org.jboss.security.SubjectFactory subjectFactory,
RecoveryPlugin plugin)
Create an XAResourceRecovery instance |
XAResourceWrapper |
createXAResourceWrapper(XAResource xares,
boolean pad,
Boolean override,
String productName,
String productVersion,
String jndiName)
Create an XAResource wrapper instance |
XAResourceRecoveryRegistry |
getRecoveryRegistry()
Get the recovery registry |
TransactionManager |
getTransactionManager()
Get the transaction manager |
TransactionSynchronizationRegistry |
getTransactionSynchronizationRegistry()
Get the transaction synchronization registry |
UserTransactionRegistry |
getUserTransactionRegistry()
Get the user transaction registry |
XATerminator |
getXATerminator()
Get the XATerminator |
| Method Detail |
|---|
TransactionManager getTransactionManager()
TransactionSynchronizationRegistry getTransactionSynchronizationRegistry()
UserTransactionRegistry getUserTransactionRegistry()
XAResourceRecoveryRegistry getRecoveryRegistry()
XATerminator getXATerminator()
XAResourceRecovery createXAResourceRecovery(javax.resource.spi.ManagedConnectionFactory mcf,
Boolean pad,
Boolean override,
Boolean wrapXAResource,
String recoverUserName,
String recoverPassword,
String recoverSecurityDomain,
org.jboss.security.SubjectFactory subjectFactory,
RecoveryPlugin plugin)
mcf - 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 plugin
LocalXAResource createLocalXAResource(ConnectionManager cm)
cm - The connection manager
XAResourceWrapper createXAResourceWrapper(XAResource xares,
boolean pad,
Boolean override,
String productName,
String productVersion,
String jndiName)
xares - 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 resource
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||