net.java.dev.moskito.web
Class ServletWrapper
java.lang.Object
net.java.dev.moskito.web.ServletWrapper
- All Implemented Interfaces:
- Servlet, IStatsProducer
public class ServletWrapper
- extends Object
- implements Servlet, IStatsProducer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
target
private Servlet target
targetClass
private static Class targetClass
serviceStats
private ServletStats serviceStats
cachedStatList
private List<IStats> cachedStatList
producerId
private String producerId
ServletWrapper
public ServletWrapper()
setTargetClass
public static void setTargetClass(Class aClass)
destroy
public void destroy()
- Specified by:
destroy in interface Servlet
getServletConfig
public ServletConfig getServletConfig()
- Specified by:
getServletConfig in interface Servlet
getServletInfo
public String getServletInfo()
- Specified by:
getServletInfo in interface Servlet
init
public void init(ServletConfig arg0)
throws ServletException
- Specified by:
init in interface Servlet
- Throws:
ServletException
service
public void service(ServletRequest req,
ServletResponse res)
throws ServletException,
IOException
- Specified by:
service in interface Servlet
- Throws:
ServletException
IOException
getCategory
public String getCategory()
- Specified by:
getCategory in interface IStatsProducer
getSubsystem
public String getSubsystem()
- Specified by:
getSubsystem in interface IStatsProducer
getProducerId
public String getProducerId()
- Specified by:
getProducerId in interface IStatsProducer
getStats
public List<IStats> getStats()
- Specified by:
getStats in interface IStatsProducer
Copyright © 2006 MoSKito Project Team. All Rights Reserved.
MoSKito, the open source java monitoring framework