org.apache.cocoon.components
Interface RequestLifecycleComponent

All Superinterfaces:
org.apache.avalon.framework.component.Component

public interface RequestLifecycleComponent
extends org.apache.avalon.framework.component.Component

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 2002/02/22 07:00:06 cziegeler Exp $
Author:
Carsten Ziegeler

Method Summary
 void setup(SourceResolver resolver, java.util.Map objectModel)
          Set the SourceResolver, objectModel Map, used to process the 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, objectModel Map, used to process the request.


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