com.sun.faban.harness.engine
Class InitFilter

java.lang.Object
  extended by com.sun.faban.harness.engine.InitFilter
All Implemented Interfaces:
Filter

public class InitFilter
extends Object
implements Filter

Filter to ensure proper initialization of the Faban system on first request to any Faban resource.

Author:
Akara Sucharitakul

Constructor Summary
InitFilter()
           
 
Method Summary
 void destroy()
           
 void doFilter(ServletRequest request, ServletResponse response, FilterChain chain)
           
 void init(FilterConfig filterConfig)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InitFilter

public InitFilter()
Method Detail

init

public void init(FilterConfig filterConfig)
          throws ServletException
Specified by:
init in interface Filter
Throws:
ServletException

doFilter

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

destroy

public void destroy()
Specified by:
destroy in interface Filter