org.apache.turbine.pipeline
Class ExecutePageValve

java.lang.Object
  extended byorg.apache.turbine.pipeline.AbstractValve
      extended byorg.apache.turbine.pipeline.ExecutePageValve
All Implemented Interfaces:
Valve

public class ExecutePageValve
extends AbstractValve

Implements the Page Generation portion of the "Turbine classic" processing pipeline (from the Turbine 2.x series).

Version:
$Id: ExecutePageValve.java,v 1.3 2004/08/02 08:57:29 epugh Exp $
Author:
Eric Pugh, Peter Courcoux

Field Summary
(package private)  org.apache.commons.logging.Log log
           
(package private)  TemplateService templateService
           
 
Constructor Summary
ExecutePageValve()
          Creates a new instance.
 
Method Summary
protected  void executePage(PipelineData pipelineData)
          execute the page generation.
 void invoke(PipelineData pipelineData, ValveContext context)
          Perform request processing as required by this Valve.
 
Methods inherited from class org.apache.turbine.pipeline.AbstractValve
getRunData, initialize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

org.apache.commons.logging.Log log

templateService

TemplateService templateService
Constructor Detail

ExecutePageValve

public ExecutePageValve()
Creates a new instance.

Method Detail

invoke

public void invoke(PipelineData pipelineData,
                   ValveContext context)
            throws java.io.IOException,
                   TurbineException
Description copied from interface: Valve

Perform request processing as required by this Valve.

An individual Valve MAY perform the following actions, in the specified order:

A Valve MUST NOT do any of the following things:

Specified by:
invoke in interface Valve
Specified by:
invoke in class AbstractValve
Throws:
java.io.IOException
TurbineException
See Also:
org.apache.turbine.Valve#invoke(RunData, ValveContext)

executePage

protected void executePage(PipelineData pipelineData)
                    throws java.lang.Exception
execute the page generation.

Throws:
java.lang.Exception


Copyright © 2000-2004 Apache Software Foundation. All Rights Reserved.