com.metamatrix.xa.arjuna
Class XAConnectorRecovery

java.lang.Object
  extended by com.metamatrix.xa.arjuna.XAConnectorRecovery
All Implemented Interfaces:
com.arjuna.ats.jta.recovery.XAResourceRecovery

public class XAConnectorRecovery
extends java.lang.Object
implements com.arjuna.ats.jta.recovery.XAResourceRecovery

Recovery module responsible for finding and supplying the all XAResources in the MetaMatrix system for recovery use.


Constructor Summary
XAConnectorRecovery()
           
 
Method Summary
static void addConnector(java.lang.String name, org.teiid.dqp.internal.transaction.TransactionProvider.XAConnectionSource connector)
           
 javax.transaction.xa.XAResource getXAResource()
           
 boolean hasMoreResources()
           
 boolean initialise(java.lang.String p)
           
static void removeConnector(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XAConnectorRecovery

public XAConnectorRecovery()
Method Detail

getXAResource

public javax.transaction.xa.XAResource getXAResource()
                                              throws java.sql.SQLException
Specified by:
getXAResource in interface com.arjuna.ats.jta.recovery.XAResourceRecovery
Throws:
java.sql.SQLException
See Also:
XAResourceRecovery.getXAResource()

hasMoreResources

public boolean hasMoreResources()
Specified by:
hasMoreResources in interface com.arjuna.ats.jta.recovery.XAResourceRecovery
See Also:
XAResourceRecovery.hasMoreResources()

initialise

public boolean initialise(java.lang.String p)
                   throws java.sql.SQLException
Specified by:
initialise in interface com.arjuna.ats.jta.recovery.XAResourceRecovery
Throws:
java.sql.SQLException
See Also:
XAResourceRecovery.initialise(java.lang.String)

addConnector

public static void addConnector(java.lang.String name,
                                org.teiid.dqp.internal.transaction.TransactionProvider.XAConnectionSource connector)

removeConnector

public static void removeConnector(java.lang.String name)


Copyright © 2009. All Rights Reserved.