br.com.ibnetwork.guara.pipeline.valve
Class ValveSupport

java.lang.Object
  extended by br.com.ibnetwork.guara.pipeline.valve.ValveSupport
All Implemented Interfaces:
Valve
Direct Known Subclasses:
CheckSecurityValve, DelayValve, LogHeadersValve, LogValve, ModuleExecutorSupport, PopulateContextWithConstants, PopulateContextWithTools, PrintValve, RedirectRequest, RenderLayout, RenderScreen, StartProfiler, StopProfiler, WriteOutput

public abstract class ValveSupport
extends java.lang.Object
implements Valve

Author:
leandro

Field Summary
protected  org.apache.commons.logging.Log log
           
protected  java.lang.String name
           
protected  Pipeline pipeline
           
 
Constructor Summary
ValveSupport()
           
 
Method Summary
protected abstract  boolean execute(RunData data)
           
 void forward(RunData data)
           
 java.lang.String getName()
           
 Pipeline getPipeline()
           
 void setName(java.lang.String name)
           
 void setPipeline(Pipeline pipeline)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected java.lang.String name

pipeline

protected Pipeline pipeline

log

protected org.apache.commons.logging.Log log
Constructor Detail

ValveSupport

public ValveSupport()
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface Valve

setName

public void setName(java.lang.String name)
Specified by:
setName in interface Valve

getPipeline

public Pipeline getPipeline()
Specified by:
getPipeline in interface Valve

setPipeline

public void setPipeline(Pipeline pipeline)
Specified by:
setPipeline in interface Valve

forward

public final void forward(RunData data)
                   throws PipelineException
Specified by:
forward in interface Valve
Throws:
PipelineException

execute

protected abstract boolean execute(RunData data)
                            throws PipelineException
Throws:
PipelineException


Copyright © 1999-2006 InterBusiness Technologies. All Rights Reserved.