public class XAResourceRecoveryImpl extends java.lang.Object implements XAResourceRecovery, org.jboss.tm.XAResourceRecovery
Constructor and Description |
---|
XAResourceRecoveryImpl(TransactionIntegration ti,
javax.resource.spi.ManagedConnectionFactory mcf,
java.lang.Boolean padXid,
java.lang.Boolean isSameRMOverrideValue,
java.lang.Boolean wrapXAResource,
java.lang.String recoverUserName,
java.lang.String recoverPassword,
java.lang.String recoverSecurityDomain,
SubjectFactory subjectFactory,
RecoveryPlugin plugin,
XAResourceStatistics xastat)
Create a new XAResourceRecoveryImpl.
|
Modifier and Type | Method and Description |
---|---|
javax.transaction.xa.XAResource[] |
getXAResources()
Provides XAResource(s) to the transaction system for recovery purposes.
|
void |
initialize()
Initialize the recovery plugin
|
void |
setJndiName(java.lang.String jndiName)
Set the jndiName.
|
void |
shutdown()
Shutdown the recovery plugin
|
public XAResourceRecoveryImpl(TransactionIntegration ti, javax.resource.spi.ManagedConnectionFactory mcf, java.lang.Boolean padXid, java.lang.Boolean isSameRMOverrideValue, java.lang.Boolean wrapXAResource, java.lang.String recoverUserName, java.lang.String recoverPassword, java.lang.String recoverSecurityDomain, SubjectFactory subjectFactory, RecoveryPlugin plugin, XAResourceStatistics xastat)
ti
- timcf
- mcfpadXid
- padXidisSameRMOverrideValue
- isSameRMOverrideValuewrapXAResource
- wrapXAResourcerecoverUserName
- recoverUserNamerecoverPassword
- recoverPasswordrecoverSecurityDomain
- recoverSecurityDomainsubjectFactory
- subjectFactoryplugin
- recovery pluginxastat
- The XAResource statistics implementationpublic void initialize() throws java.lang.Exception
java.lang.Exception
- If an error occurspublic void shutdown() throws java.lang.Exception
java.lang.Exception
- If an error occurspublic void setJndiName(java.lang.String jndiName)
jndiName
- The jndiName to set.public javax.transaction.xa.XAResource[] getXAResources()
getXAResources
in interface org.jboss.tm.XAResourceRecovery
Copyright © 2014 IronJacamar (http://www.ironjacamar.org)