org.apache.cocoon.tools.rcl.wrapper.servlet
Class ReloadingServletFilter

java.lang.Object
  extended byorg.apache.cocoon.tools.rcl.wrapper.servlet.ReloadingServletFilter
All Implemented Interfaces:
Filter

public class ReloadingServletFilter
extends Object
implements Filter

This filter can be used as a wrapper around a "real" filter to support the reloading class loader.

Version:
$Id: ReloadingServletFilter.java 635835 2008-03-11 07:49:12Z reinhard $

Field Summary
protected  ServletContext context
           
protected  Filter filter
           
 
Constructor Summary
ReloadingServletFilter()
           
 
Method Summary
 void destroy()
           
 void doFilter(ServletRequest request, ServletResponse response, FilterChain chain)
           
 void init(FilterConfig config)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

filter

protected Filter filter

context

protected ServletContext context
Constructor Detail

ReloadingServletFilter

public ReloadingServletFilter()
Method Detail

doFilter

public void doFilter(ServletRequest request,
                     ServletResponse response,
                     FilterChain chain)
              throws IOException,
                     ServletException
Specified by:
doFilter in interface Filter
Throws:
IOException
ServletException
See Also:
Filter.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain)

init

public void init(FilterConfig config)
          throws ServletException
Specified by:
init in interface Filter
Throws:
ServletException
See Also:
Filter.init(javax.servlet.FilterConfig)

destroy

public void destroy()
Specified by:
destroy in interface Filter
See Also:
Filter.destroy()


Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.