org.apache.openejb.core.stateful
Class SessionSynchronizationCoordinator
java.lang.Object
org.apache.openejb.core.stateful.SessionSynchronizationCoordinator
- All Implemented Interfaces:
- Synchronization
public class SessionSynchronizationCoordinator
- extends Object
- implements Synchronization
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
registerSessionSynchronization
public static void registerSessionSynchronization(StatefulInstanceManager.Instance instance,
TransactionContext context)
throws SystemException,
RollbackException
- Throws:
SystemException
RollbackException
beforeCompletion
public void beforeCompletion()
- Specified by:
beforeCompletion
in interface Synchronization
afterCompletion
public void afterCompletion(int status)
- Specified by:
afterCompletion
in interface Synchronization
discardInstance
protected void discardInstance(StatefulInstanceManager instanceManager,
ThreadContext callContext)
markTxRollbackOnly
protected void markTxRollbackOnly(Transaction tx)
throws SystemException
- Throws:
SystemException
getTransactionManager
protected TransactionManager getTransactionManager()
throwExceptionToServer
protected void throwExceptionToServer(Throwable sysException)
throws ApplicationException
- Throws:
ApplicationException
getTransactionStatus
protected int getTransactionStatus()
Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.