Package org.apache.turbine.pipeline


package org.apache.turbine.pipeline

The Turbine processing pipeline is modeled after the pipeline found in Tomcat 4.0.1 (Catalina), and after the module architecture found in Apache httpd. It is extensible both laterally and vertically via Valve additions and default Valve implementations (respectively). Even the semantics of the default Turbine Pipeline (ClassicPipeline) can be changed by replacing or extending the implementation with a custom one.

As with Catalina, Turbine's Pipeline and Valve configuration is setup via XML: <pipeline name="default"> <valves> <valve>org.apache.turbine.pipeline.DetermineActionValve</valve> <valve>org.apache.turbine.pipeline.DetermineTargetValve</valve> <valve>org.apache.turbine.pipeline.DefaultSessionTimeoutValve</valve> <valve>org.apache.turbine.pipeline.DefaultLoginValve</valve> <valve>org.apache.turbine.pipeline.DefaultSessionValidationValve</valve> <valve>org.apache.turbine.pipeline.DefaultACLCreationValve</valve> <valve>org.apache.turbine.pipeline.ExecutePageValve</valve> <valve>org.apache.turbine.pipeline.CleanUpValve</valve> <valve>org.apache.turbine.pipeline.DetermineRedirectRequestedValve</valve> </valves> </pipeline>

Please direct all comments, fixes, and enhancements to the development list.

  • Klasse
    Beschreibung
    Implements the RunData target portion of the "Turbine classic" processing pipeline (from the Turbine 2.x series).
    Implements the action portion of the "Turbine classic" processing pipeline (from the Turbine 2.x series).
    Handles the Login and Logout actions in the request process cycle.
    A PipelineData is a holder for data being passed from one Valve to the next.
    Veraltet.
    Implements the action portion of the "Turbine classic" processing pipeline (from the Turbine 2.x series).
    Set default encoding of the request.
    This valve is responsible for setting the 'action' property of RunData based on request parameter.
    Implements the Redirect Requested portion of the "Turbine classic" processing pipeline (from the Turbine 2.x series).
    This valve is responsible for setting the 'target' property of the RunData.
    Implements the Page Generation portion of the "Turbine classic" processing pipeline (from the Turbine 2.x series).
    The idea of a pipeline is being taken from Catalina in its entirety :-) I would like to take the idea further and implement Valves instead of hardcoding particular methods in a pipeline.
    A PipelineData is a holder for data being passed from one Valve to the next.
    Flexible implementation of a Pipeline.
    A Valve is a request processing component.
    A ValveContext is the mechanism by which a Valve can trigger the execution of the next Valve in a Pipeline, without having to know anything about the internal implementation mechanisms.
    A JAXB Class for holding the class name of a valve.
    Creates Valve objects.