|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.jca.core.tx.jbossts.XATerminatorImpl
public class XATerminatorImpl

XATerminator implementation
| Constructor Summary | |
|---|---|
XATerminatorImpl(org.jboss.tm.JBossXATerminator delegator)
Constructor |
|
| Method Summary | |
|---|---|
void |
cancelWork(javax.resource.spi.work.Work work,
Xid xid)
Invoked when the work fails |
void |
commit(Xid xid,
boolean onePhase)
|
void |
endWork(javax.resource.spi.work.Work work,
Xid xid)
Invoked when transaction inflow work ends |
void |
forget(Xid xid)
|
int |
prepare(Xid xid)
|
Xid[] |
recover(int flags)
|
void |
registerWork(javax.resource.spi.work.Work work,
Xid xid,
long timeout)
Invoked for transaction inflow of work |
void |
rollback(Xid xid)
|
void |
startWork(javax.resource.spi.work.Work work,
Xid xid)
Invoked for transaction inflow of work |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XATerminatorImpl(org.jboss.tm.JBossXATerminator delegator)
delegator - The delegator| Method Detail |
|---|
public void commit(Xid xid,
boolean onePhase)
throws XAException
commit in interface javax.resource.spi.XATerminatorXAException
public void forget(Xid xid)
throws XAException
forget in interface javax.resource.spi.XATerminatorXAException
public int prepare(Xid xid)
throws XAException
prepare in interface javax.resource.spi.XATerminatorXAException
public Xid[] recover(int flags)
throws XAException
recover in interface javax.resource.spi.XATerminatorXAException
public void rollback(Xid xid)
throws XAException
rollback in interface javax.resource.spi.XATerminatorXAException
public void registerWork(javax.resource.spi.work.Work work,
Xid xid,
long timeout)
throws javax.resource.spi.work.WorkCompletedException
work - The work startingxid - The xid of the worktimeout - The transaction timeout
javax.resource.spi.work.WorkCompletedException - with error code WorkException.TX_CONCURRENT_WORK_DISALLOWED
when work is already present for the xid or whose completion is in progress, only
the global part of the xid must be used for this check.
public void startWork(javax.resource.spi.work.Work work,
Xid xid)
throws javax.resource.spi.work.WorkCompletedException
work - The work startingxid - The xid of the work
javax.resource.spi.work.WorkCompletedException - With error code WorkException.TX_RECREATE_FAILED if it is unable
to recreate the transaction context
public void endWork(javax.resource.spi.work.Work work,
Xid xid)
work - The work endingxid - The xid of the work
public void cancelWork(javax.resource.spi.work.Work work,
Xid xid)
work - The work endingxid - The xid of the work
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||