org.mule.umo
Interface UMOTransaction
- All Known Implementing Classes:
- AbstractTransaction, XaTransaction
- public interface UMOTransaction
- Version:
- $Revision: 1.2 $
- 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 UMOTransactionException
- Begin the transaction.
- Throws:
UMOTransactionException
commit
public void commit()
throws UMOTransactionException
- Commit the transaction
- Throws:
UMOTransactionException
rollback
public void rollback()
throws UMOTransactionException
- Rollback the transaction
- Throws:
UMOTransactionException
getStatus
public int getStatus()
throws UMOTransactionException
- Throws:
UMOTransactionException
isBegun
public boolean isBegun()
throws UMOTransactionException
- Throws:
UMOTransactionException
isRolledBack
public boolean isRolledBack()
throws UMOTransactionException
- Throws:
UMOTransactionException
isCommitted
public boolean isCommitted()
throws UMOTransactionException
- Throws:
UMOTransactionException
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 UMOTransactionException
- Throws:
UMOTransactionException
setRollbackOnly
public void setRollbackOnly()
throws UMOTransactionException
- Throws:
UMOTransactionException
isRollbackOnly
public boolean isRollbackOnly()
throws UMOTransactionException
- Throws:
UMOTransactionException
Copyright © 2003-2005 SymphonySoft Limited. All Rights Reserved.