org.apache.cocoon.components
Interface RequestLifecycleComponent

All Superinterfaces:
org.apache.avalon.framework.component.Component, org.apache.avalon.excalibur.pool.Poolable

public interface RequestLifecycleComponent
extends org.apache.avalon.framework.component.Component, org.apache.avalon.excalibur.pool.Poolable

Objects implementing this marker interface have a lifecycle of one request. This means if one request is looking up several times an object implementing this interface, it's always the same object. In addition, the first time this object is looked up during a request, the setup() method is called

Version:
CVS $Id: RequestLifecycleComponent.java,v 1.4.2.1 2002/12/05 15:09:38 cziegeler Exp $
Author:
Carsten Ziegeler

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

Method Detail

setup

public void setup(SourceResolver resolver,
                  java.util.Map objectModel)
           throws ProcessingException,
                  org.xml.sax.SAXException,
                  java.io.IOException
Set the SourceResolver and the objectModel used to process the current request.


Copyright © 1999-2002 Apache Software Foundation. All Rights Reserved.