Package com.swiftmq.impl.xa.standard
Class XAResourceManagerSwiftletImpl
java.lang.Object
XAResourceManagerSwiftlet
com.swiftmq.impl.xa.standard.XAResourceManagerSwiftletImpl
public class XAResourceManagerSwiftletImpl
extends XAResourceManagerSwiftlet
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addPreparedTransaction
(XidImpl xid, String queueName, QueueTransaction queueTransaction) void
commit
(XidImpl xid) XAContext
createXAContext
(XidImpl xid) void
forget
(XidImpl xid) getPreparedXids
(XidFilter filter) long
XAContext
getXAContext
(XidImpl xid) boolean
hasPreparedXid
(XidImpl xid) boolean
isHeuristicCommit
(XidImpl xid) boolean
isHeuristicCompleted
(XidImpl xid) boolean
isHeuristicRollback
(XidImpl xid) void
void
removeXAContext
(XidImpl xid) void
rollback
(XidImpl xid) void
setTransactionTimeout
(long timeout) protected void
shutdown()
protected void
startup
(Configuration configuration)
-
Constructor Details
-
XAResourceManagerSwiftletImpl
public XAResourceManagerSwiftletImpl()
-
-
Method Details
-
addPreparedTransaction
public void addPreparedTransaction(XidImpl xid, String queueName, QueueTransaction queueTransaction) -
commit
public void commit(XidImpl xid) -
rollback
public void rollback(XidImpl xid) -
performTimeAction
public void performTimeAction() -
setTransactionTimeout
public void setTransactionTimeout(long timeout) -
getTransactionTimeout
public long getTransactionTimeout() -
isHeuristicCompleted
public boolean isHeuristicCompleted(XidImpl xid) -
isHeuristicCommit
public boolean isHeuristicCommit(XidImpl xid) -
isHeuristicRollback
public boolean isHeuristicRollback(XidImpl xid) -
getHeuristicCompletedXids
-
forget
public void forget(XidImpl xid) -
hasPreparedXid
public boolean hasPreparedXid(XidImpl xid) -
getPreparedXids
-
getPreparedXids
-
createXAContext
public XAContext createXAContext(XidImpl xid) -
getXAContext
public XAContext getXAContext(XidImpl xid) -
removeXAContext
public void removeXAContext(XidImpl xid) -
startup
protected void startup(Configuration configuration) throws SwiftletException - Throws:
SwiftletException
-
shutdown
protected void shutdown()
-