org.apache.cocoon.components
Interface GlobalRequestLifecycleComponent


Deprecated. Use the RequestDataStore instead.

public interface GlobalRequestLifecycleComponent

Components implementing this marker interface have a lifecycle of one request-response cycle. This means if during one cycle a component accepting this interface is looked up several times, it's always the same instance. Each internal subrequest happens in the same cycle, so an instance looked up in either the "main" request or in any of the subrequests is available to all other requests in this cycle. In addition, the first time this component is looked up during a request, the setup(SourceResolver, Map) method is called.

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

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.