org.apache.cocoon.webapps.session.components .DefaultTransactionManager DefaultTransactionManager final public class DefaultTransactionManager extends AbstractLogEnabled implements Component,ThreadSafe,TransactionManager ,Contextualizable (Code) This is the default implementation for the transaction manager.
author: Carsten Ziegeler version: CVS $Id: DefaultTransactionManager.java 433543 2006-08-22 06:22:54Z crossley $
Field Summary protected Contextcontext
context protected Context context(Code)
contextualize public void contextualize(Context context) throws ContextException(Code)
resetTransactions public void resetTransactions(SessionContext context)(Code) Reset the transaction management state.
startReadingTransaction public synchronized void startReadingTransaction(SessionContext context) throws ProcessingException (Code) Start a reading transaction.
This call must always be matched with a stopReadingTransaction().
Otherwise the session context is blocked.
startWritingTransaction public synchronized void startWritingTransaction(SessionContext context) throws ProcessingException (Code) Start a writing transaction.
This call must always be matched with a stopWritingTransaction().
Otherwise the session context is blocked.
stopReadingTransaction public synchronized void stopReadingTransaction(SessionContext context)(Code) Stop a reading transaction.
This call must always be done for each startReadingTransaction().
Otherwise the session context is blocked.
stopWritingTransaction public synchronized void stopWritingTransaction(SessionContext context)(Code) Stop a writing transaction.
This call must always be done for each startWritingTransaction().
Otherwise the session context is blocked.