org.makumba.analyser
Class AnalysisInitControllerHandler

java.lang.Object
  extended by org.makumba.commons.ControllerHandler
      extended by org.makumba.analyser.AnalysisInitControllerHandler

public class AnalysisInitControllerHandler
extends ControllerHandler

This ControllerHandler ensures that the analysis is initialised correctly at each access

Version:
$Id: AnalysisInitControllerHandler.java 5124 2010-05-18 17:54:53Z rosso_nero $
Author:
Manuel Gay

Constructor Summary
AnalysisInitControllerHandler()
           
 
Method Summary
 boolean beforeFilter(ServletRequest request, ServletResponse response, FilterConfig conf, ServletObjects httpServletObjects)
          Performs an operation before the doFilterChain() method is called
 void finalize(ServletRequest request, ServletResponse response)
          Performs cleanup operations after the filter operation is executed
 boolean onError(ServletRequest request, ServletResponse response, Throwable e, FilterConfig conf)
          Performs an operation when an error occurs
 
Methods inherited from class org.makumba.commons.ControllerHandler
afterBeforeFilter, afterFilter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnalysisInitControllerHandler

public AnalysisInitControllerHandler()
Method Detail

beforeFilter

public boolean beforeFilter(ServletRequest request,
                            ServletResponse response,
                            FilterConfig conf,
                            ServletObjects httpServletObjects)
Description copied from class: ControllerHandler
Performs an operation before the doFilterChain() method is called

Overrides:
beforeFilter in class ControllerHandler
Returns:
true if the operation worked out successfully, false otherwise

onError

public boolean onError(ServletRequest request,
                       ServletResponse response,
                       Throwable e,
                       FilterConfig conf)
Description copied from class: ControllerHandler
Performs an operation when an error occurs

Overrides:
onError in class ControllerHandler
Returns:
true if this still is an error, false if it was handled

finalize

public void finalize(ServletRequest request,
                     ServletResponse response)
Description copied from class: ControllerHandler
Performs cleanup operations after the filter operation is executed

Overrides:
finalize in class ControllerHandler