|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xml.ws.rx.rm.runtime.transaction.TransactionHandlerImpl
public class TransactionHandlerImpl
| Constructor Summary | |
|---|---|
TransactionHandlerImpl()
|
|
| Method Summary | |
|---|---|
void |
begin(int txTimeout)
Begin the transaction |
boolean |
canBegin()
Can UserTransaction be started? Can start only if it doesn't already exist. |
void |
commit()
Commit the transaction |
int |
getStatus()
javax.transaction.Status of the UserTransaction |
String |
getStatusAsString()
javax.transaction.Status as a String. |
boolean |
isActive()
Is the UserTransaction active on this thread? |
boolean |
isMarkedForRollback()
Is the UserTransaction marked for roll back? |
void |
rollback()
Roll back the transaction |
void |
setRollbackOnly()
Mark the transaction as roll back only |
boolean |
transactionExists()
Is transaction associated with the current thread? |
boolean |
userTransactionAvailable()
Is the UserTransaction available? |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TransactionHandlerImpl()
| Method Detail |
|---|
public void begin(int txTimeout)
throws TransactionException
TransactionHandler
begin in interface TransactionHandlertxTimeout - Transaction timeout in seconds
TransactionException
public void commit()
throws TransactionException
TransactionHandler
commit in interface TransactionHandlerTransactionException
public void rollback()
throws TransactionException
TransactionHandler
rollback in interface TransactionHandlerTransactionException
public void setRollbackOnly()
throws TransactionException
TransactionHandler
setRollbackOnly in interface TransactionHandlerTransactionException
public boolean userTransactionAvailable()
throws TransactionException
TransactionHandler
userTransactionAvailable in interface TransactionHandlerTransactionException
public boolean isActive()
throws TransactionException
TransactionHandler
isActive in interface TransactionHandlerTransactionException
public boolean isMarkedForRollback()
throws TransactionException
TransactionHandler
isMarkedForRollback in interface TransactionHandlerTransactionExceptionpublic boolean canBegin()
TransactionHandler
canBegin in interface TransactionHandler
public boolean transactionExists()
throws TransactionException
TransactionHandler
transactionExists in interface TransactionHandlerTransactionException
public int getStatus()
throws TransactionException
TransactionHandler
getStatus in interface TransactionHandlerTransactionException
public String getStatusAsString()
throws TransactionException
TransactionHandler
getStatusAsString in interface TransactionHandlerTransactionException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||