public class OsgiTransactionManager extends TransactionManagerImple implements UserTransaction
| Modifier and Type | Class and Description |
|---|---|
static interface |
OsgiTransactionManager.Listener |
| Constructor and Description |
|---|
OsgiTransactionManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
resume(Transaction which)
Unlike the OTS, if we are already associated with a transaction then we
cannot call resume.
|
void |
setListener(OsgiTransactionManager.Listener listener) |
Transaction |
suspend() |
getObjectInstance, getTransactionbegin, commit, commitAsync, createSubordinate, getStatus, getTimeout, rollback, setRollbackOnly, setTransactionTimeout, toString, wrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitbegin, commit, getStatus, rollback, setRollbackOnly, setTransactionTimeoutbegin, commit, getStatus, rollback, setRollbackOnly, setTransactionTimeoutpublic void setListener(OsgiTransactionManager.Listener listener)
public Transaction suspend() throws SystemException
suspend in interface TransactionManagersuspend in class TransactionManagerImpleSystemExceptionpublic void resume(Transaction which) throws InvalidTransactionException, IllegalStateException, SystemException
TransactionManagerImpleresume in interface TransactionManagerresume in class TransactionManagerImpleInvalidTransactionExceptionIllegalStateExceptionSystemExceptionCopyright © 2016 JBoss by Red Hat. All rights reserved.