|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.teiid.dqp.internal.process.TransactionServerImpl
public class TransactionServerImpl
| Constructor Summary | |
|---|---|
TransactionServerImpl()
|
|
| Method Summary | |
|---|---|
TransactionContext |
begin(java.lang.String threadId)
Local Transaction |
TransactionContext |
begin(TransactionContext context)
Request level transaction |
void |
cancelTransactions(java.lang.String threadId,
boolean requestOnly)
|
void |
commit(java.lang.String threadId)
Local Transaction |
void |
commit(java.lang.String threadId,
XidImpl xid,
boolean onePhase,
boolean singleTM)
Global Transaction |
TransactionContext |
commit(TransactionContext context)
Request level transaction |
void |
end(java.lang.String threadId,
XidImpl xid,
int flags,
boolean singleTM)
Global Transaction |
void |
forget(java.lang.String threadId,
XidImpl xid,
boolean singleTM)
Global Transaction |
TransactionContext |
getOrCreateTransactionContext(java.lang.String threadId)
|
java.util.Collection<Transaction> |
getTransactions()
|
int |
prepare(java.lang.String threadId,
XidImpl xid,
boolean singleTM)
Global Transaction |
javax.transaction.xa.Xid[] |
recover(int flag,
boolean singleTM)
Global Transaction |
void |
resume(TransactionContext context)
|
void |
rollback(java.lang.String threadId)
Local Transaction |
void |
rollback(java.lang.String threadId,
XidImpl xid,
boolean singleTM)
Global Transaction |
TransactionContext |
rollback(TransactionContext context)
Request level transaction |
void |
setTransactionManager(javax.transaction.TransactionManager transactionManager)
|
void |
setWorkManager(javax.resource.spi.work.WorkManager workManager)
|
void |
setXaTerminator(javax.resource.spi.XATerminator xaTerminator)
|
void |
start(java.lang.String threadId,
XidImpl xid,
int flags,
int timeout,
boolean singleTM)
Global Transaction |
void |
suspend(TransactionContext context)
|
void |
terminateTransaction(java.lang.String threadId)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TransactionServerImpl()
| Method Detail |
|---|
public void setXaTerminator(javax.resource.spi.XATerminator xaTerminator)
public void setTransactionManager(javax.transaction.TransactionManager transactionManager)
public void setWorkManager(javax.resource.spi.work.WorkManager workManager)
public int prepare(java.lang.String threadId,
XidImpl xid,
boolean singleTM)
throws XATransactionException
prepare in interface TransactionServiceXATransactionException
public void commit(java.lang.String threadId,
XidImpl xid,
boolean onePhase,
boolean singleTM)
throws XATransactionException
commit in interface TransactionServiceXATransactionException
public void rollback(java.lang.String threadId,
XidImpl xid,
boolean singleTM)
throws XATransactionException
rollback in interface TransactionServiceXATransactionException
public javax.transaction.xa.Xid[] recover(int flag,
boolean singleTM)
throws XATransactionException
recover in interface TransactionServiceXATransactionException
public void forget(java.lang.String threadId,
XidImpl xid,
boolean singleTM)
throws XATransactionException
forget in interface TransactionServiceXATransactionException
public void start(java.lang.String threadId,
XidImpl xid,
int flags,
int timeout,
boolean singleTM)
throws XATransactionException
start in interface TransactionServiceXATransactionException
public void end(java.lang.String threadId,
XidImpl xid,
int flags,
boolean singleTM)
throws XATransactionException
end in interface TransactionServiceXATransactionException
public void suspend(TransactionContext context)
throws XATransactionException
suspend in interface TransactionServiceXATransactionException
public void resume(TransactionContext context)
throws XATransactionException
resume in interface TransactionServiceXATransactionException
public TransactionContext begin(java.lang.String threadId)
throws XATransactionException
begin in interface TransactionServiceXATransactionException
public void commit(java.lang.String threadId)
throws XATransactionException
commit in interface TransactionServiceXATransactionException
public void rollback(java.lang.String threadId)
throws XATransactionException
rollback in interface TransactionServiceXATransactionExceptionpublic TransactionContext getOrCreateTransactionContext(java.lang.String threadId)
getOrCreateTransactionContext in interface TransactionService
public TransactionContext begin(TransactionContext context)
throws XATransactionException
begin in interface TransactionServiceXATransactionException
public TransactionContext commit(TransactionContext context)
throws XATransactionException
commit in interface TransactionServiceXATransactionException
public TransactionContext rollback(TransactionContext context)
throws XATransactionException
rollback in interface TransactionServiceXATransactionException
public void cancelTransactions(java.lang.String threadId,
boolean requestOnly)
throws XATransactionException
cancelTransactions in interface TransactionServiceXATransactionExceptionpublic java.util.Collection<Transaction> getTransactions()
getTransactions in interface TransactionService
public void terminateTransaction(java.lang.String threadId)
throws AdminException
terminateTransaction in interface TransactionServiceAdminException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||