net.sf.infrared.agent.setup
Class OnMonitorFilter
java.lang.Object
net.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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OnMonitorFilter
public OnMonitorFilter()
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