|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mule.transaction.AbstractTransaction
org.mule.transaction.AbstractSingleResourceTransaction
org.mule.providers.jms.JmsTransaction
JmsTransaction
is a wrapper for a Jms local transaction. This object holds the
jms session and controls the when the transaction committed or rolled back.
Field Summary |
Fields inherited from class org.mule.transaction.AbstractSingleResourceTransaction |
committed, key, resource, rollbackOnly, rolledBack, started |
Fields inherited from class org.mule.transaction.AbstractTransaction |
logger |
Fields inherited from interface org.mule.umo.UMOTransaction |
STATUS_ACTIVE, STATUS_COMMITTED, STATUS_COMMITTING, STATUS_MARKED_ROLLBACK, STATUS_NO_TRANSACTION, STATUS_PREPARED, STATUS_PREPARING, STATUS_ROLLEDBACK, STATUS_ROLLING_BACK, STATUS_UNKNOWN |
Constructor Summary | |
JmsTransaction()
|
Method Summary | |
void |
bindResource(java.lang.Object key,
java.lang.Object resource)
|
protected void |
doBegin()
Really begin the transaction. |
protected void |
doCommit()
Commit the transaction on the underlying resource |
protected void |
doRollback()
Rollback the transaction on the underlying resource |
Methods inherited from class org.mule.transaction.AbstractSingleResourceTransaction |
begin, commit, getId, getResource, getStatus, hasResource, rollback, setRollbackOnly |
Methods inherited from class org.mule.transaction.AbstractTransaction |
isBegun, isCommitted, isRollbackOnly, isRolledBack |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JmsTransaction()
Method Detail |
public void bindResource(java.lang.Object key, java.lang.Object resource) throws TransactionException
bindResource
in interface UMOTransaction
bindResource
in class AbstractSingleResourceTransaction
TransactionException
protected void doBegin() throws TransactionException
AbstractSingleResourceTransaction
doBegin
in class AbstractSingleResourceTransaction
TransactionException
protected void doCommit() throws TransactionException
AbstractSingleResourceTransaction
doCommit
in class AbstractSingleResourceTransaction
TransactionException
protected void doRollback() throws TransactionException
AbstractSingleResourceTransaction
doRollback
in class AbstractSingleResourceTransaction
TransactionException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |