public class TransactionManagerImple extends BaseTransaction implements TransactionManager, ObjectFactory
Constructor and Description |
---|
TransactionManagerImple() |
Modifier and Type | Method and Description |
---|---|
Object |
getObjectInstance(Object obj,
Name name,
Context nameCtx,
Hashtable environment)
Creates a TransactionManageImple from the given information.
|
Transaction |
getTransaction() |
void |
resume(Transaction which)
Unlike the OTS, if we are already associated with a transaction then we
cannot call resume.
|
Transaction |
suspend() |
begin, commit, getStatus, getTimeout, rollback, setRollbackOnly, setTransactionTimeout
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
begin, commit, getStatus, rollback, setRollbackOnly, setTransactionTimeout
public Transaction getTransaction() throws SystemException
getTransaction
in interface TransactionManager
SystemException
public Transaction suspend() throws SystemException
suspend
in interface TransactionManager
SystemException
public void resume(Transaction which) throws InvalidTransactionException, IllegalStateException, SystemException
resume
in interface TransactionManager
InvalidTransactionException
IllegalStateException
SystemException
public Object getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable environment) throws Exception
getObjectInstance
in interface ObjectFactory
obj
- name
- nameCtx
- environment
- Exception
Copyright © 2021 JBoss by Red Hat. All rights reserved.