|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.tm.TransactionImpl
Our Transaction
implementation.
TxManager
Method Summary | |
void |
associateCurrentThread()
|
void |
commit()
|
boolean |
delistResource(XAResource xaRes,
int flag)
|
void |
disassociateCurrentThread()
|
boolean |
enlistResource(XAResource xaRes)
|
boolean |
equals(Object obj)
|
GlobalId |
getGlobalId()
Returns the global id of this transaction. |
LocalId |
getLocalId()
Returns the local id of this transaction. |
long |
getLocalIdValue()
Returns the local id of this transaction. |
int |
getStatus()
|
long |
getTimeLeftBeforeTimeout()
|
XidImpl |
getXid()
Returns the xid of this transaction. |
int |
hashCode()
|
void |
registerSynchronization(Synchronization s)
|
void |
rollback()
|
void |
setRollbackOnly()
|
void |
timedOut(org.jboss.util.timeout.Timeout timeout)
Called when our timeout expires. |
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
public void timedOut(org.jboss.util.timeout.Timeout timeout)
timedOut
in interface org.jboss.util.timeout.TimeoutTarget
public void commit() throws RollbackException, HeuristicMixedException, HeuristicRollbackException, SecurityException, IllegalStateException, SystemException
commit
in interface Transaction
public void rollback() throws IllegalStateException, SecurityException, SystemException
rollback
in interface Transaction
public boolean delistResource(XAResource xaRes, int flag) throws IllegalStateException, SystemException
delistResource
in interface Transaction
IllegalStateException
SystemException
public boolean enlistResource(XAResource xaRes) throws RollbackException, IllegalStateException, SystemException
enlistResource
in interface Transaction
public int getStatus() throws SystemException
getStatus
in interface Transaction
SystemException
public void registerSynchronization(Synchronization s) throws RollbackException, IllegalStateException, SystemException
registerSynchronization
in interface Transaction
public void setRollbackOnly() throws IllegalStateException, SystemException
setRollbackOnly
in interface Transaction
IllegalStateException
SystemException
public void associateCurrentThread()
public void disassociateCurrentThread()
public int hashCode()
public String toString()
public boolean equals(Object obj)
public long getLocalIdValue()
public LocalId getLocalId()
public GlobalId getGlobalId()
public XidImpl getXid()
public long getTimeLeftBeforeTimeout()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |