org.apache.cocoon.components
Interface RequestLifecycleComponent

All Superinterfaces:
Poolable
All Known Implementing Classes:
AbstractSessionComponent

Deprecated. Use the RequestDataStore instead.

public interface RequestLifecycleComponent
extends Poolable

Components implementing this marker interface have a lifecycle of one request. This means if during one request a component accepting this interface is looked up several times, it's always the same instance. Each internal subrequest, e.g. using the cocoon protocol, is considered as a new request. So an instance looked up in the "main" request is not available to a subrequest. In addition, the first time this component is looked up during a request, the setup(SourceResolver, Map) method is called.

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

Method Summary
 void setup(SourceResolver resolver, Map objectModel)
          Deprecated. Set the SourceResolver and the objectModel used to process the current request.
 

Method Detail

setup

void setup(SourceResolver resolver,
           Map objectModel)
           throws ProcessingException,
                  SAXException,
                  IOException
Deprecated. 
Set the SourceResolver and the objectModel used to process the current request.

Throws:
ProcessingException
SAXException
IOException


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