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

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.cocoon.webapps.session.components.AbstractSessionComponent
All Implemented Interfaces:
Poolable, Recyclable, Component, Composable, Recomposable, LogEnabled, RequestLifecycleComponent

Deprecated. Lookup the components yourself and use contextualizable to get the current object model

public abstract class AbstractSessionComponent
extends AbstractLogEnabled
implements Component, Composable, Recomposable, Recyclable, RequestLifecycleComponent

The base class for own components This is only here for compatibility

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

Field Summary
protected  ComponentManager manager
          Deprecated.  
protected  Map objectModel
          Deprecated. The current object model
protected  Request request
          Deprecated.  
protected  SourceResolver resolver
          Deprecated. The current source resolver
protected  Response response
          Deprecated.  
 
Constructor Summary
AbstractSessionComponent()
          Deprecated.  
 
Method Summary
 void compose(ComponentManager manager)
          Deprecated. Composer interface.
protected  ContextManager getContextManager()
          Deprecated. Get the ContextManager component
protected  FormManager getFormManager()
          Deprecated. Get the FormManager component
protected  SessionManager getSessionManager()
          Deprecated. Get the SessionManager component
protected  TransactionManager getTransactionManager()
          Deprecated. Get the ContextManager component
 void recompose(ComponentManager componentManager)
          Deprecated. Recomposable
 void recycle()
          Deprecated. Recycle
 void setup(SourceResolver resolver, Map objectModel)
          Deprecated. Set the SourceResolver, objectModel Map, used to process the request.
 
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

manager

protected ComponentManager manager
Deprecated. 

objectModel

protected Map objectModel
Deprecated. 
The current object model


resolver

protected SourceResolver resolver
Deprecated. 
The current source resolver


request

protected Request request
Deprecated. 

response

protected Response response
Deprecated. 
Constructor Detail

AbstractSessionComponent

public AbstractSessionComponent()
Deprecated. 
Method Detail

compose

public void compose(ComponentManager manager)
             throws ComponentException
Deprecated. 
Composer interface. Get the Avalon ComponentManager.

Specified by:
compose in interface Composable
Throws:
ComponentException

recompose

public void recompose(ComponentManager componentManager)
               throws ComponentException
Deprecated. 
Recomposable

Specified by:
recompose in interface Recomposable
Throws:
ComponentException

setup

public void setup(SourceResolver resolver,
                  Map objectModel)
           throws ProcessingException,
                  SAXException,
                  IOException
Deprecated. 
Set the SourceResolver, objectModel Map, used to process the request. Set up the SessionManager component. This method is automatically called for each request. Do not invoke this method by hand.

Specified by:
setup in interface RequestLifecycleComponent
Throws:
ProcessingException
SAXException
IOException

getSessionManager

protected SessionManager getSessionManager()
                                    throws ProcessingException
Deprecated. 
Get the SessionManager component

Throws:
ProcessingException

getContextManager

protected ContextManager getContextManager()
                                    throws ProcessingException
Deprecated. 
Get the ContextManager component

Throws:
ProcessingException

getTransactionManager

protected TransactionManager getTransactionManager()
                                            throws ProcessingException
Deprecated. 
Get the ContextManager component

Throws:
ProcessingException

getFormManager

protected FormManager getFormManager()
                              throws ProcessingException
Deprecated. 
Get the FormManager component

Throws:
ProcessingException

recycle

public void recycle()
Deprecated. 
Recycle

Specified by:
recycle in interface Recyclable


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