org.mortbay.jetty.servlet.jsr77.management
Class Jsr77ServletHolderMBean

java.lang.Object
  extended by org.eclipse.jetty.jmx.ObjectMBean
      extended by org.mortbay.jetty.servlet.jsr77.management.Jsr77ServletHolderMBean
All Implemented Interfaces:
DynamicMBean

public class Jsr77ServletHolderMBean
extends org.eclipse.jetty.jmx.ObjectMBean

Jsr77ServletHolderMBean

Version:
$Revision: 1259 $ $Date: 2006-11-19 08:00:48 -0800 (Sun, 19 Nov 2006) $
Author:
janb

Field Summary
 
Fields inherited from class org.eclipse.jetty.jmx.ObjectMBean
_managed
 
Constructor Summary
Jsr77ServletHolderMBean(Object managedObject)
           
 
Method Summary
 Long getMaxTime()
          MaxTime Necessary for JBoss's JSR77 impl.
 Long getMinTime()
          MinTime Necessary for JBoss's JSR77 impl.
 ObjectName getObjectName()
           
 Long getProcessingTime()
          Satisfying JBoss's JSR77 impl
 Integer getRequestCount()
          Satisfying JBoss's JSR77 impl
 boolean getStatisticsProvider()
          StatisticsProvider As per the jsr77 spec, we are providing statistics for a servlet
 javax.management.j2ee.statistics.ServletStats getStats()
          ServletStats
 
Methods inherited from class org.eclipse.jetty.jmx.ObjectMBean
defineAttribute, getAttribute, getAttributes, getManagedObject, getMBeanContainer, getMBeanInfo, getObjectContextBasis, getObjectNameBasis, invoke, mbeanFor, setAttribute, setAttributes, setMBeanContainer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Jsr77ServletHolderMBean

public Jsr77ServletHolderMBean(Object managedObject)
                        throws MBeanException
Throws:
MBeanException
Method Detail

getStatisticsProvider

public boolean getStatisticsProvider()
StatisticsProvider As per the jsr77 spec, we are providing statistics for a servlet

Returns:
true

getStats

public javax.management.j2ee.statistics.ServletStats getStats()
ServletStats

Returns:
the JSR77 servlet stats for the servlet we represent

getMaxTime

public Long getMaxTime()
MaxTime Necessary for JBoss's JSR77 impl.

Returns:
the max service time statistic

getMinTime

public Long getMinTime()
MinTime Necessary for JBoss's JSR77 impl.

Returns:
the min service time statistic

getProcessingTime

public Long getProcessingTime()
Satisfying JBoss's JSR77 impl

Returns:

getRequestCount

public Integer getRequestCount()
Satisfying JBoss's JSR77 impl

Returns:

getObjectName

public ObjectName getObjectName()
Overrides:
getObjectName in class org.eclipse.jetty.jmx.ObjectMBean


Copyright © 1995-2011 Mort Bay Consulting. All Rights Reserved.