org.hippoecm.hst.core.container
Class HstSitePipeline

java.lang.Object
  extended by org.hippoecm.hst.core.container.HstSitePipeline
All Implemented Interfaces:
Pipeline

public class HstSitePipeline
extends Object
implements Pipeline

HstSitePipeline

Version:
$Id: HstSitePipeline.java 30357 2011-09-22 10:38:17Z aschrijvers $

Field Summary
protected  Valve[] cleanupValves
           
protected  Valve[] initializationValves
           
protected static org.slf4j.Logger log
           
protected  Valve[] processingValves
           
 
Constructor Summary
HstSitePipeline()
           
 
Method Summary
 void addCleanupValve(Valve cleanupValve)
           
 void addInitializationValve(Valve initializationValve)
           
 void addInvokingValve(Valve processingValve)
          Deprecated. use addProcessingValve(Valve) instead
 void addPostInvokingValve(Valve cleanupValve)
          Deprecated. use #addCleanUpValve(Valve)
 void addPreInvokingValve(Valve initializationValve)
          Deprecated. use addInitializationValve(Valve) instead
 void addProcessingValve(Valve processingValve)
           
 void afterInvoke(HstContainerConfig requestContainerConfig, HstRequestContext requestContext, javax.servlet.http.HttpServletRequest servletRequest, javax.servlet.http.HttpServletResponse servletResponse)
          Does post-processing step for the request processing.
 void beforeInvoke(HstContainerConfig requestContainerConfig, HstRequestContext requestContext, javax.servlet.http.HttpServletRequest servletRequest, javax.servlet.http.HttpServletResponse servletResponse)
          Does pre-processing step for the request processing.
 void cleanup(HstContainerConfig requestContainerConfig, HstRequestContext requestContext, javax.servlet.http.HttpServletRequest servletRequest, javax.servlet.http.HttpServletResponse servletResponse)
          Does post-processing step for the request processing.
 void destroy()
          Destroys the pipeline.
 void initialize()
          Initializes the pipeline
 void invoke(HstContainerConfig requestContainerConfig, HstRequestContext requestContext, javax.servlet.http.HttpServletRequest servletRequest, javax.servlet.http.HttpServletResponse servletResponse)
          Invokes the request processing, aka the initialization and rendering valves
 void setCleanupValves(Valve[] cleanupValve)
           
 void setInitializationValves(Valve[] initializationValves)
           
 void setInvokingValves(Valve[] processingValves)
          Deprecated. use setProcessingValves(Valve[]) instead
 void setPostInvokingValves(Valve[] cleanupValves)
          Deprecated. use setCleanupValves(Valve[]) instead
 void setPreInvokingValves(Valve[] initializationValves)
          Deprecated. use setInitializationValves(Valve[]) instead
 void setProcessingValves(Valve[] processingValves)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static final org.slf4j.Logger log

initializationValves

protected Valve[] initializationValves

processingValves

protected Valve[] processingValves

cleanupValves

protected Valve[] cleanupValves
Constructor Detail

HstSitePipeline

public HstSitePipeline()
                throws Exception
Throws:
Exception
Method Detail

setPreInvokingValves

@Deprecated
public void setPreInvokingValves(Valve[] initializationValves)
Deprecated. use setInitializationValves(Valve[]) instead

Parameters:
initializationValves -

setInitializationValves

public void setInitializationValves(Valve[] initializationValves)
Parameters:
initializationValves -

addPreInvokingValve

@Deprecated
public void addPreInvokingValve(Valve initializationValve)
Deprecated. use addInitializationValve(Valve) instead

Parameters:
initializationValve -

addInitializationValve

public void addInitializationValve(Valve initializationValve)
Parameters:
initializationValve -

setInvokingValves

@Deprecated
public void setInvokingValves(Valve[] processingValves)
Deprecated. use setProcessingValves(Valve[]) instead

Parameters:
processingValves -

setProcessingValves

public void setProcessingValves(Valve[] processingValves)
Parameters:
processingValves -

addInvokingValve

@Deprecated
public void addInvokingValve(Valve processingValve)
Deprecated. use addProcessingValve(Valve) instead

Parameters:
processingValve -

addProcessingValve

public void addProcessingValve(Valve processingValve)
Parameters:
processingValve -

setPostInvokingValves

@Deprecated
public void setPostInvokingValves(Valve[] cleanupValves)
Deprecated. use setCleanupValves(Valve[]) instead

Parameters:
cleanupValves -

setCleanupValves

public void setCleanupValves(Valve[] cleanupValve)
Parameters:
cleanupValve -

addPostInvokingValve

@Deprecated
public void addPostInvokingValve(Valve cleanupValve)
Deprecated. use #addCleanUpValve(Valve)

Parameters:
cleanupValve -

addCleanupValve

public void addCleanupValve(Valve cleanupValve)

initialize

public void initialize()
                throws ContainerException
Description copied from interface: Pipeline
Initializes the pipeline

Specified by:
initialize in interface Pipeline
Throws:
ContainerException

beforeInvoke

public void beforeInvoke(HstContainerConfig requestContainerConfig,
                         HstRequestContext requestContext,
                         javax.servlet.http.HttpServletRequest servletRequest,
                         javax.servlet.http.HttpServletResponse servletResponse)
                  throws ContainerException
Description copied from interface: Pipeline
Does pre-processing step for the request processing.

Specified by:
beforeInvoke in interface Pipeline
Parameters:
requestContainerConfig - the HstComponent container configuration
Throws:
ContainerException

invoke

public void invoke(HstContainerConfig requestContainerConfig,
                   HstRequestContext requestContext,
                   javax.servlet.http.HttpServletRequest servletRequest,
                   javax.servlet.http.HttpServletResponse servletResponse)
            throws ContainerException
Description copied from interface: Pipeline
Invokes the request processing, aka the initialization and rendering valves

Specified by:
invoke in interface Pipeline
Parameters:
requestContainerConfig - the HstComponent container configuration
Throws:
ContainerException

afterInvoke

public void afterInvoke(HstContainerConfig requestContainerConfig,
                        HstRequestContext requestContext,
                        javax.servlet.http.HttpServletRequest servletRequest,
                        javax.servlet.http.HttpServletResponse servletResponse)
                 throws ContainerException
Description copied from interface: Pipeline
Does post-processing step for the request processing.

Specified by:
afterInvoke in interface Pipeline
Parameters:
requestContainerConfig - the HstComponent container configuration
Throws:
ContainerException

cleanup

public void cleanup(HstContainerConfig requestContainerConfig,
                    HstRequestContext requestContext,
                    javax.servlet.http.HttpServletRequest servletRequest,
                    javax.servlet.http.HttpServletResponse servletResponse)
             throws ContainerException
Description copied from interface: Pipeline
Does post-processing step for the request processing.

Specified by:
cleanup in interface Pipeline
Parameters:
requestContainerConfig - the HstComponent container configuration
Throws:
ContainerException

destroy

public void destroy()
             throws ContainerException
Description copied from interface: Pipeline
Destroys the pipeline.

Specified by:
destroy in interface Pipeline
Throws:
ContainerException


Copyright © 2008-2012 Hippo. All Rights Reserved.