|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.openjpa.ee.WASManagedRuntime.WASTransaction
class WASManagedRuntime.WASTransaction
Transaction wrapper for WebSphere. WebSphere exposes a subset of the Transaction and TransactionManager interfaces to the customer. Any methods which are not exposed by WebSphere will throw an IllegalStateException to the caller.
Methods supported by WAS are
| Constructor Summary | |
|---|---|
WASManagedRuntime.WASTransaction()
|
|
| Method Summary | |
|---|---|
void |
begin()
Unimplemented, WAS does not provide this level of control. |
void |
commit()
Unimplemented, WAS does not provide this level of control. |
boolean |
delistResource(XAResource arg0,
int arg1)
Unimplemented, WAS does not provide this level of control. |
boolean |
enlistResource(XAResource arg0)
Unimplemented, WAS does not provide this level of control. |
int |
getStatus()
|
Transaction |
getTransaction()
Provides a Transaction wrapper. |
void |
registerSynchronization(Synchronization arg0)
Register for synchronization with a WebSphere managed transaction via the extendedJTATransaction interface. |
void |
resume(Transaction arg0)
Unimplemented, WAS does not provide this level of control. |
void |
rollback()
Unimplemented, WAS does not provide this level of control. |
void |
setRollbackOnly()
Unimplemented, WAS does not provide this level of control. |
void |
setTransactionTimeout(int arg0)
Unimplemented, WAS does not provide this level of control. |
Transaction |
suspend()
Unimplemented, WAS does not provide this level of control. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
WASManagedRuntime.WASTransaction()
| Method Detail |
|---|
public int getStatus()
throws SystemException
getStatus in interface TransactiongetStatus in interface TransactionManagerSystemException
public Transaction getTransaction()
throws SystemException
getTransaction in interface TransactionManagerSystemException
public void registerSynchronization(Synchronization arg0)
throws IllegalStateException,
RollbackException,
SystemException
registerSynchronization in interface TransactionIllegalStateException
RollbackException
SystemException
public void begin()
throws NotSupportedException,
SystemException
begin in interface TransactionManagerNotSupportedException
SystemException
public void commit()
throws HeuristicMixedException,
HeuristicRollbackException,
IllegalStateException,
RollbackException,
SecurityException,
SystemException
commit in interface Transactioncommit in interface TransactionManagerHeuristicMixedException
HeuristicRollbackException
IllegalStateException
RollbackException
SecurityException
SystemException
public void resume(Transaction arg0)
throws IllegalStateException,
InvalidTransactionException,
SystemException
resume in interface TransactionManagerIllegalStateException
InvalidTransactionException
SystemException
public void rollback()
throws IllegalStateException,
SecurityException,
SystemException
rollback in interface Transactionrollback in interface TransactionManagerIllegalStateException
SecurityException
SystemException
public void setRollbackOnly()
throws IllegalStateException,
SystemException
setRollbackOnly in interface TransactionsetRollbackOnly in interface TransactionManagerIllegalStateException
SystemException
public void setTransactionTimeout(int arg0)
throws SystemException
setTransactionTimeout in interface TransactionManagerSystemException
public Transaction suspend()
throws SystemException
suspend in interface TransactionManagerSystemException
public boolean delistResource(XAResource arg0,
int arg1)
throws IllegalStateException,
SystemException
delistResource in interface TransactionIllegalStateException
SystemException
public boolean enlistResource(XAResource arg0)
throws IllegalStateException,
RollbackException,
SystemException
enlistResource in interface TransactionIllegalStateException
RollbackException
SystemException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||