| java.lang.Object org.objectweb.jonas.resource.MySynchro
MySynchro | public class MySynchro implements Synchronization(Code) | | This class is an implementation of the Synchronization interface, used by a
ConnectionManagerImpl instance. The aim of this class is to close a
ManagedConnection when a transaction finishes. This class is necessary when
the commit or the rollback action is after a connection close.
author: sebastien.chassande@inrialpes.fr author: Eric.Hardesty@bull.com |
Method Summary | |
public void | afterCompletion(int status) This method is called by the transaction manager after the transaction is
committed or rolled back. | public void | beforeCompletion() This method is called by the transaction manager prior to the start of the
transaction completion process. |
MySynchro | public MySynchro(ConnectionManagerImpl pCm, MCInfo pMci)(Code) | | Constructor for the MySynchro object
Parameters: pCm - ConnectionManager object Parameters: pMci - ManagedConnection information object |
afterCompletion | public void afterCompletion(int status)(Code) | | This method is called by the transaction manager after the transaction is
committed or rolled back. Release the mci from the pool
Parameters: status - The transaction flag |
beforeCompletion | public void beforeCompletion()(Code) | | This method is called by the transaction manager prior to the start of the
transaction completion process.
|
|
|