public interface GlobalRequestLifecycleComponent (Code)
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
GlobalRequestLifecycleComponent.setup(SourceResolver,Map) method is called.
See Also:org.apache.cocoon.components.RequestLifecycleComponentorg.apache.cocoon.components.persistence.RequestDataStore author: Carsten Ziegeler version: CVS $Id: GlobalRequestLifecycleComponent.java 433543 2006-08-22 06:22:54Z crossley $