net.java.dev.moskito.web
Class ServletWrapper

java.lang.Object
  extended by net.java.dev.moskito.web.ServletWrapper
All Implemented Interfaces:
Servlet, IStatsProducer

public class ServletWrapper
extends Object
implements Servlet, IStatsProducer


Field Summary
private  List<IStats> cachedStatList
           
private  String producerId
           
private  ServletStats serviceStats
           
private  Servlet target
           
private static Class targetClass
           
 
Constructor Summary
ServletWrapper()
           
 
Method Summary
 void destroy()
           
 String getCategory()
           
 String getProducerId()
           
 ServletConfig getServletConfig()
           
 String getServletInfo()
           
 List<IStats> getStats()
           
 String getSubsystem()
           
 void init(ServletConfig arg0)
           
 void service(ServletRequest req, ServletResponse res)
           
static void setTargetClass(Class aClass)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

target

private Servlet target

targetClass

private static Class targetClass

serviceStats

private ServletStats serviceStats

cachedStatList

private List<IStats> cachedStatList

producerId

private String producerId
Constructor Detail

ServletWrapper

public ServletWrapper()
Method Detail

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