org.apache.cocoon.webapps.session.components
Class DefaultTransactionManager

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.cocoon.webapps.session.components.DefaultTransactionManager
All Implemented Interfaces:
Component, Contextualizable, LogEnabled, ThreadSafe, TransactionManager

Deprecated. This block is deprecated and will be removed in future versions.

public final class DefaultTransactionManager
extends AbstractLogEnabled
implements Component, ThreadSafe, TransactionManager, Contextualizable

This is the default implementation for the transaction manager.

Version:
CVS $Id: DefaultTransactionManager.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Carsten Ziegeler

Field Summary
protected  Context context
          Deprecated.  
 
Fields inherited from interface org.apache.cocoon.webapps.session.TransactionManager
ROLE
 
Constructor Summary
DefaultTransactionManager()
          Deprecated.  
 
Method Summary
 void contextualize(Context context)
          Deprecated.  
 void resetTransactions(SessionContext context)
          Deprecated. Reset the transaction management state.
 void startReadingTransaction(SessionContext context)
          Deprecated. Start a reading transaction.
 void startWritingTransaction(SessionContext context)
          Deprecated. Start a writing transaction.
 void stopReadingTransaction(SessionContext context)
          Deprecated. Stop a reading transaction.
 void stopWritingTransaction(SessionContext context)
          Deprecated. Stop a writing transaction.
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

context

protected Context context
Deprecated. 
Constructor Detail

DefaultTransactionManager

public DefaultTransactionManager()
Deprecated. 
Method Detail

resetTransactions

public void resetTransactions(SessionContext context)
Deprecated. 
Reset the transaction management state.

Specified by:
resetTransactions in interface TransactionManager

startReadingTransaction

public void startReadingTransaction(SessionContext context)
                             throws ProcessingException
Deprecated. 
Start a reading transaction. This call must always be matched with a stopReadingTransaction(). Otherwise the session context is blocked.

Specified by:
startReadingTransaction in interface TransactionManager
Throws:
ProcessingException

stopReadingTransaction

public void stopReadingTransaction(SessionContext context)
Deprecated. 
Stop a reading transaction. This call must always be done for each startReadingTransaction(). Otherwise the session context is blocked.

Specified by:
stopReadingTransaction in interface TransactionManager

startWritingTransaction

public void startWritingTransaction(SessionContext context)
                             throws ProcessingException
Deprecated. 
Start a writing transaction. This call must always be matched with a stopWritingTransaction(). Otherwise the session context is blocked.

Specified by:
startWritingTransaction in interface TransactionManager
Throws:
ProcessingException

stopWritingTransaction

public void stopWritingTransaction(SessionContext context)
Deprecated. 
Stop a writing transaction. This call must always be done for each startWritingTransaction(). Otherwise the session context is blocked.

Specified by:
stopWritingTransaction in interface TransactionManager

contextualize

public void contextualize(Context context)
                   throws ContextException
Deprecated. 
Specified by:
contextualize in interface Contextualizable
Throws:
ContextException


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.