class WASManagedRuntime.WASTransaction extends Object implements TransactionManager, Transaction
Methods supported by WAS are
| Constructor and Description |
|---|
WASManagedRuntime.WASTransaction() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public int getStatus()
throws SystemException
getStatus in interface TransactiongetStatus in interface TransactionManagerSystemExceptionpublic Transaction getTransaction() throws SystemException
getTransaction in interface TransactionManagerSystemExceptionpublic void registerSynchronization(Synchronization arg0) throws IllegalStateException, RollbackException, SystemException
registerSynchronization in interface TransactionIllegalStateExceptionRollbackExceptionSystemExceptionpublic void begin()
throws NotSupportedException,
SystemException
begin in interface TransactionManagerNotSupportedExceptionSystemExceptionpublic void commit()
throws HeuristicMixedException,
HeuristicRollbackException,
IllegalStateException,
RollbackException,
SecurityException,
SystemException
commit in interface Transactioncommit in interface TransactionManagerHeuristicMixedExceptionHeuristicRollbackExceptionIllegalStateExceptionRollbackExceptionSecurityExceptionSystemExceptionpublic void resume(Transaction arg0) throws IllegalStateException, InvalidTransactionException, SystemException
resume in interface TransactionManagerIllegalStateExceptionInvalidTransactionExceptionSystemExceptionpublic void rollback()
throws IllegalStateException,
SecurityException,
SystemException
rollback in interface Transactionrollback in interface TransactionManagerIllegalStateExceptionSecurityExceptionSystemExceptionpublic void setRollbackOnly()
throws IllegalStateException,
SystemException
setRollbackOnly in interface TransactionsetRollbackOnly in interface TransactionManagerIllegalStateExceptionSystemExceptionpublic void setTransactionTimeout(int arg0)
throws SystemException
setTransactionTimeout in interface TransactionManagerSystemExceptionpublic Transaction suspend() throws SystemException
suspend in interface TransactionManagerSystemExceptionpublic boolean delistResource(XAResource arg0, int arg1) throws IllegalStateException, SystemException
delistResource in interface TransactionIllegalStateExceptionSystemExceptionpublic boolean enlistResource(XAResource arg0) throws IllegalStateException, RollbackException, SystemException
enlistResource in interface TransactionIllegalStateExceptionRollbackExceptionSystemExceptionCopyright © 2006–2013 Apache Software Foundation. All rights reserved.