net.sf.infrared.agent.setup
Class OnMonitorFilter

java.lang.Object
  extended bynet.sf.infrared.agent.setup.OnMonitorFilter
All Implemented Interfaces:
ServletMonitorFilter

public class OnMonitorFilter
extends Object
implements ServletMonitorFilter

A MonitorFilter implementation that always enables monitoring for all requests.


Constructor Summary
OnMonitorFilter()
           
 
Method Summary
 void init(FilterConfig cfg)
          Initialize this filter
 boolean isMonitoringEnabled(ServletContext context, ServletRequest request, ServletResponse response)
          Returns true
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OnMonitorFilter

public OnMonitorFilter()
Method Detail

init

public void init(FilterConfig cfg)
          throws IllegalArgumentException
Description copied from interface: ServletMonitorFilter
Initialize this filter

Specified by:
init in interface ServletMonitorFilter
Parameters:
cfg -
Throws:
IllegalArgumentException

isMonitoringEnabled

public boolean isMonitoringEnabled(ServletContext context,
                                   ServletRequest request,
                                   ServletResponse response)
Returns true

Specified by:
isMonitoringEnabled in interface ServletMonitorFilter
Parameters:
context -
request -
response -
Returns:
true