org.mule.util.queue.objectstore.xa
Class DefaultXASession

java.lang.Object
  extended by org.mule.util.queue.objectstore.xa.DefaultXASession
All Implemented Interfaces:
XAResource

Deprecated. this class will be removed in Mule 4.0 in favor of the new queue implementation

@Deprecated
public class DefaultXASession
extends Object
implements XAResource


Field Summary
protected  AbstractTransactionContext localContext
          Deprecated.  
protected  Xid localXid
          Deprecated.  
protected  org.apache.commons.logging.Log logger
          Deprecated. logger used by this class
protected  AbstractXAResourceManager resourceManager
          Deprecated.  
 
Fields inherited from interface javax.transaction.xa.XAResource
TMENDRSCAN, TMFAIL, TMJOIN, TMNOFLAGS, TMONEPHASE, TMRESUME, TMSTARTRSCAN, TMSUCCESS, TMSUSPEND, XA_OK, XA_RDONLY
 
Constructor Summary
DefaultXASession(AbstractXAResourceManager resourceManager)
          Deprecated.  
 
Method Summary
 void begin()
          Deprecated.  
 void commit()
          Deprecated.  
 void commit(Xid xid, boolean onePhase)
          Deprecated.  
 void end(Xid xid, int flags)
          Deprecated.  
 void forget(Xid xid)
          Deprecated.  
 Object getResourceManager()
          Deprecated.  
 int getTransactionTimeout()
          Deprecated.  
 XAResource getXAResource()
          Deprecated.  
 boolean isSameRM(XAResource xares)
          Deprecated.  
 int prepare(Xid xid)
          Deprecated.  
 Xid[] recover(int flag)
          Deprecated.  
 void rollback()
          Deprecated.  
 void rollback(Xid xid)
          Deprecated.  
 boolean setTransactionTimeout(int timeout)
          Deprecated.  
 void start(Xid xid, int flags)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected transient org.apache.commons.logging.Log logger
Deprecated. 
logger used by this class


localContext

protected AbstractTransactionContext localContext
Deprecated. 

localXid

protected Xid localXid
Deprecated. 

resourceManager

protected AbstractXAResourceManager resourceManager
Deprecated. 
Constructor Detail

DefaultXASession

public DefaultXASession(AbstractXAResourceManager resourceManager)
Deprecated. 
Method Detail

getXAResource

public XAResource getXAResource()
Deprecated. 

getResourceManager

public Object getResourceManager()
Deprecated. 

begin

public void begin()
           throws ResourceManagerException
Deprecated. 
Throws:
ResourceManagerException

commit

public void commit()
            throws ResourceManagerException
Deprecated. 
Throws:
ResourceManagerException

rollback

public void rollback()
              throws ResourceManagerException
Deprecated. 
Throws:
ResourceManagerException

isSameRM

public boolean isSameRM(XAResource xares)
                 throws XAException
Deprecated. 
Specified by:
isSameRM in interface XAResource
Throws:
XAException

recover

public Xid[] recover(int flag)
              throws XAException
Deprecated. 
Specified by:
recover in interface XAResource
Throws:
XAException

start

public void start(Xid xid,
                  int flags)
           throws XAException
Deprecated. 
Specified by:
start in interface XAResource
Throws:
XAException

end

public void end(Xid xid,
                int flags)
         throws XAException
Deprecated. 
Specified by:
end in interface XAResource
Throws:
XAException

commit

public void commit(Xid xid,
                   boolean onePhase)
            throws XAException
Deprecated. 
Specified by:
commit in interface XAResource
Throws:
XAException

rollback

public void rollback(Xid xid)
              throws XAException
Deprecated. 
Specified by:
rollback in interface XAResource
Throws:
XAException

prepare

public int prepare(Xid xid)
            throws XAException
Deprecated. 
Specified by:
prepare in interface XAResource
Throws:
XAException

forget

public void forget(Xid xid)
            throws XAException
Deprecated. 
Specified by:
forget in interface XAResource
Throws:
XAException

getTransactionTimeout

public int getTransactionTimeout()
                          throws XAException
Deprecated. 
Specified by:
getTransactionTimeout in interface XAResource
Throws:
XAException

setTransactionTimeout

public boolean setTransactionTimeout(int timeout)
                              throws XAException
Deprecated. 
Specified by:
setTransactionTimeout in interface XAResource
Throws:
XAException


Copyright © 2003–2014 MuleSoft, Inc.. All rights reserved.