Tim Fox,
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransactionImpl
public TransactionImpl(StorageManager storageManager)
TransactionImpl
public TransactionImpl(javax.transaction.xa.Xid xid,
StorageManager storageManager,
PostOffice postOffice)
TransactionImpl
public TransactionImpl(long id,
javax.transaction.xa.Xid xid,
StorageManager storageManager)
getDistinctQueues
public java.util.Set<Queue> getDistinctQueues()
- Specified by:
getDistinctQueues
in interface Transaction
getID
public long getID()
- Specified by:
getID
in interface Transaction
getCreateTime
public long getCreateTime()
- Specified by:
getCreateTime
in interface Transaction
prepare
public void prepare()
throws java.lang.Exception
- Specified by:
prepare
in interface Transaction
- Throws:
java.lang.Exception
commit
public void commit()
throws java.lang.Exception
- Specified by:
commit
in interface Transaction
- Throws:
java.lang.Exception
commit
public void commit(boolean onePhase)
throws java.lang.Exception
- Specified by:
commit
in interface Transaction
- Throws:
java.lang.Exception
rollback
public void rollback()
throws java.lang.Exception
- Specified by:
rollback
in interface Transaction
- Throws:
java.lang.Exception
suspend
public void suspend()
- Specified by:
suspend
in interface Transaction
resume
public void resume()
- Specified by:
resume
in interface Transaction
getState
public Transaction.State getState()
- Specified by:
getState
in interface Transaction
setState
public void setState(Transaction.State state)
- Specified by:
setState
in interface Transaction
getXid
public javax.transaction.xa.Xid getXid()
- Specified by:
getXid
in interface Transaction
markAsRollbackOnly
public void markAsRollbackOnly(MessagingException messagingException)
- Specified by:
markAsRollbackOnly
in interface Transaction
addOperation
public void addOperation(TransactionOperation operation)
- Specified by:
addOperation
in interface Transaction
removeOperation
public void removeOperation(TransactionOperation operation)
- Specified by:
removeOperation
in interface Transaction
getOperationsCount
public int getOperationsCount()
- Specified by:
getOperationsCount
in interface Transaction
putProperty
public void putProperty(int index,
java.lang.Object property)
- Specified by:
putProperty
in interface Transaction
getProperty
public java.lang.Object getProperty(int index)
- Specified by:
getProperty
in interface Transaction
Copyright © 2006 JBoss Inc. All Rights Reserved.