|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 Transaction
getStatus
in interface TransactionManager
SystemException
public Transaction getTransaction() throws SystemException
getTransaction
in interface TransactionManager
SystemException
public void registerSynchronization(Synchronization arg0) throws IllegalStateException, RollbackException, SystemException
registerSynchronization
in interface Transaction
IllegalStateException
RollbackException
SystemException
public void begin() throws NotSupportedException, SystemException
begin
in interface TransactionManager
NotSupportedException
SystemException
public void commit() throws HeuristicMixedException, HeuristicRollbackException, IllegalStateException, RollbackException, SecurityException, SystemException
commit
in interface Transaction
commit
in interface TransactionManager
HeuristicMixedException
HeuristicRollbackException
IllegalStateException
RollbackException
SecurityException
SystemException
public void resume(Transaction arg0) throws IllegalStateException, InvalidTransactionException, SystemException
resume
in interface TransactionManager
IllegalStateException
InvalidTransactionException
SystemException
public void rollback() throws IllegalStateException, SecurityException, SystemException
rollback
in interface Transaction
rollback
in interface TransactionManager
IllegalStateException
SecurityException
SystemException
public void setRollbackOnly() throws IllegalStateException, SystemException
setRollbackOnly
in interface Transaction
setRollbackOnly
in interface TransactionManager
IllegalStateException
SystemException
public void setTransactionTimeout(int arg0) throws SystemException
setTransactionTimeout
in interface TransactionManager
SystemException
public Transaction suspend() throws SystemException
suspend
in interface TransactionManager
SystemException
public boolean delistResource(XAResource arg0, int arg1) throws IllegalStateException, SystemException
delistResource
in interface Transaction
IllegalStateException
SystemException
public boolean enlistResource(XAResource arg0) throws IllegalStateException, RollbackException, SystemException
enlistResource
in interface Transaction
IllegalStateException
RollbackException
SystemException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |