org.norther.tammi.spray.monitor
Class DefaultMonitorFilter
java.lang.Object
org.norther.tammi.core.base.Adaptee
org.norther.tammi.spray.filter.DefaultFilter
org.norther.tammi.spray.filter.DefaultKeyFilter
org.norther.tammi.spray.monitor.DefaultMonitorFilter
- All Implemented Interfaces:
- Serializable, NotificationBroadcaster, NotificationEmitter, Filter, Manageable, MBeanDelegate, KeyFilter, MonitorFilter
public class DefaultMonitorFilter
- extends DefaultKeyFilter
- implements MonitorFilter
A default implementation of MonitorFilter.
- Author:
- Ilkka Priha
- See Also:
- Serialized Form
| Methods inherited from class org.norther.tammi.core.base.Adaptee |
addAdaptee, addNotificationListener, getAttributeSupport, getBroker, getCanonicalName, getDomain, getFactory, getLoader, getLog, getLog, getMBean, getMBeanServer, getNotificationInfo, getObjectName, getRegistrationTime, getSequenceNumber, hasListeners, isRegistered, postmanaged, premanaged, removeNotificationListener, removeNotificationListener, sendNotification, sendNotification, sendNotification, sendNotification, unmanaged, unregister |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MONITOR_KEY
public static final String MONITOR_KEY
- The default key for the monitor.
- See Also:
- Constant Field Values
DefaultMonitorFilter
public DefaultMonitorFilter()
- Constructs a new filter.
DefaultMonitorFilter
public DefaultMonitorFilter(String key)
- Constructs a new filter with a key.
- Parameters:
key - the key.
doFilter
public void doFilter(ServletRequest request,
ServletResponse response,
FilterChain chain)
throws ServletException,
IOException
- Specified by:
doFilter in interface Filter- Overrides:
doFilter in class DefaultFilter
- Throws:
ServletException
IOException
evaluate
public Object evaluate(String arg)
- Description copied from interface:
MonitorFilter
- Evaluates a test function.
- Specified by:
evaluate in interface MonitorFilter
- Parameters:
arg - an argument.
- Returns:
- the result.
Copyright © 2004 The Norther Organization. All rights reserved.