org.apache.commons.chain.impl
Class DelegatingFilter

java.lang.Object
  extended by org.apache.commons.chain.impl.NonDelegatingCommand
      extended by org.apache.commons.chain.impl.NonDelegatingFilter
          extended by org.apache.commons.chain.impl.DelegatingFilter
All Implemented Interfaces:
Command, Filter

public class DelegatingFilter
extends NonDelegatingFilter

Implementation of Filter that logs its identifier and and delegates to the rest of the chain.

Version:
$Revision: 480477 $ $Date: 2006-11-29 08:34:52 +0000 (Wed, 29 Nov 2006) $
Author:
Craig R. McClanahan

Field Summary
 
Fields inherited from class org.apache.commons.chain.impl.NonDelegatingFilter
id2
 
Fields inherited from class org.apache.commons.chain.impl.NonDelegatingCommand
id
 
Fields inherited from interface org.apache.commons.chain.Command
CONTINUE_PROCESSING, PROCESSING_COMPLETE
 
Constructor Summary
DelegatingFilter()
           
DelegatingFilter(String id1, String id2)
           
 
Method Summary
 boolean execute(Context context)
           
 
Methods inherited from class org.apache.commons.chain.impl.NonDelegatingFilter
getId2, postprocess, setId2
 
Methods inherited from class org.apache.commons.chain.impl.NonDelegatingCommand
log, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DelegatingFilter

public DelegatingFilter()

DelegatingFilter

public DelegatingFilter(String id1,
                        String id2)
Method Detail

execute

public boolean execute(Context context)
                throws Exception
Specified by:
execute in interface Command
Overrides:
execute in class NonDelegatingFilter
Throws:
Exception


Copyright © 2003-2010 The Apache Software Foundation. All Rights Reserved.