@Deprecated public class DefaultXASession extends Object implements XAResource
| Modifier and Type | Field and Description |
|---|---|
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.
|
TMENDRSCAN, TMFAIL, TMJOIN, TMNOFLAGS, TMONEPHASE, TMRESUME, TMSTARTRSCAN, TMSUCCESS, TMSUSPEND, XA_OK, XA_RDONLY| Constructor and Description |
|---|
DefaultXASession(AbstractXAResourceManager resourceManager)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
protected transient org.apache.commons.logging.Log logger
protected AbstractTransactionContext localContext
protected Xid localXid
protected AbstractXAResourceManager resourceManager
public DefaultXASession(AbstractXAResourceManager resourceManager)
public XAResource getXAResource()
public Object getResourceManager()
public void begin()
throws ResourceManagerException
ResourceManagerExceptionpublic void commit()
throws ResourceManagerException
ResourceManagerExceptionpublic void rollback()
throws ResourceManagerException
ResourceManagerExceptionpublic boolean isSameRM(XAResource xares) throws XAException
isSameRM in interface XAResourceXAExceptionpublic Xid[] recover(int flag) throws XAException
recover in interface XAResourceXAExceptionpublic void start(Xid xid, int flags) throws XAException
start in interface XAResourceXAExceptionpublic void end(Xid xid, int flags) throws XAException
end in interface XAResourceXAExceptionpublic void commit(Xid xid, boolean onePhase) throws XAException
commit in interface XAResourceXAExceptionpublic void rollback(Xid xid) throws XAException
rollback in interface XAResourceXAExceptionpublic int prepare(Xid xid) throws XAException
prepare in interface XAResourceXAExceptionpublic void forget(Xid xid) throws XAException
forget in interface XAResourceXAExceptionpublic int getTransactionTimeout()
throws XAException
getTransactionTimeout in interface XAResourceXAExceptionpublic boolean setTransactionTimeout(int timeout)
throws XAException
setTransactionTimeout in interface XAResourceXAExceptionCopyright © 2003–2015 MuleSoft, Inc.. All rights reserved.