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, setTransactionTimeoutclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbegin, commit, getStatus, rollback, setRollbackOnly, setTransactionTimeoutpublic Transaction getTransaction() throws SystemException
getTransaction in interface TransactionManagerSystemExceptionpublic Transaction suspend() throws SystemException
suspend in interface TransactionManagerSystemExceptionpublic void resume(Transaction which) throws InvalidTransactionException, IllegalStateException, SystemException
resume in interface TransactionManagerInvalidTransactionExceptionIllegalStateExceptionSystemExceptionpublic Object getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable environment) throws Exception
getObjectInstance in interface ObjectFactoryobj - name - nameCtx - environment - ExceptionCopyright © 2013. All rights reserved.