org.mule.umo
Interface UMOTransaction
- All Known Implementing Classes:
- AbstractTransaction, XaTransaction
- public interface UMOTransaction
- Version:
- $Revision: 1.4 $
- Author:
- Ross Mason, Guillaume Nodet
STATUS_ACTIVE
public static final int STATUS_ACTIVE
- See Also:
- Constant Field Values
STATUS_MARKED_ROLLBACK
public static final int STATUS_MARKED_ROLLBACK
- See Also:
- Constant Field Values
STATUS_PREPARED
public static final int STATUS_PREPARED
- See Also:
- Constant Field Values
STATUS_COMMITTED
public static final int STATUS_COMMITTED
- See Also:
- Constant Field Values
STATUS_ROLLEDBACK
public static final int STATUS_ROLLEDBACK
- See Also:
- Constant Field Values
STATUS_UNKNOWN
public static final int STATUS_UNKNOWN
- See Also:
- Constant Field Values
STATUS_NO_TRANSACTION
public static final int STATUS_NO_TRANSACTION
- See Also:
- Constant Field Values
STATUS_PREPARING
public static final int STATUS_PREPARING
- See Also:
- Constant Field Values
STATUS_COMMITTING
public static final int STATUS_COMMITTING
- See Also:
- Constant Field Values
STATUS_ROLLING_BACK
public static final int STATUS_ROLLING_BACK
- See Also:
- Constant Field Values
begin
public void begin()
throws TransactionException
- Begin the transaction.
- Throws:
TransactionException
commit
public void commit()
throws TransactionException
- Commit the transaction
- Throws:
TransactionException
rollback
public void rollback()
throws TransactionException
- Rollback the transaction
- Throws:
TransactionException
getStatus
public int getStatus()
throws TransactionException
- Throws:
TransactionException
isBegun
public boolean isBegun()
throws TransactionException
- Throws:
TransactionException
isRolledBack
public boolean isRolledBack()
throws TransactionException
- Throws:
TransactionException
isCommitted
public boolean isCommitted()
throws TransactionException
- Throws:
TransactionException
getResource
public java.lang.Object getResource(java.lang.Object key)
hasResource
public boolean hasResource(java.lang.Object key)
bindResource
public void bindResource(java.lang.Object key,
java.lang.Object resource)
throws TransactionException
- Throws:
TransactionException
setRollbackOnly
public void setRollbackOnly()
throws TransactionException
- Throws:
TransactionException
isRollbackOnly
public boolean isRollbackOnly()
throws TransactionException
- Throws:
TransactionException
Copyright © 2003-2005 SymphonySoft Limited. All Rights Reserved.