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, getTransaction
begin, commit, commitAsync, createSubordinate, getStatus, getTimeout, rollback, setRollbackOnly, setTransactionTimeout, toString, wrap
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
begin, commit, getStatus, rollback, setRollbackOnly, setTransactionTimeout
begin, commit, getStatus, rollback, setRollbackOnly, setTransactionTimeout
public void setListener(OsgiTransactionManager.Listener listener)
public Transaction suspend() throws SystemException
suspend
in interface TransactionManager
suspend
in class TransactionManagerImple
SystemException
public void resume(Transaction which) throws InvalidTransactionException, IllegalStateException, SystemException
TransactionManagerImple
resume
in interface TransactionManager
resume
in class TransactionManagerImple
InvalidTransactionException
IllegalStateException
SystemException
Copyright © 2021 JBoss by Red Hat. All rights reserved.