org.glassfish.jersey.server.internal.monitoring.jmx
Class MBeanExposer

java.lang.Object
  extended by org.glassfish.jersey.server.internal.monitoring.jmx.MBeanExposer
All Implemented Interfaces:
MonitoringStatisticsListener

public class MBeanExposer
extends Object
implements MonitoringStatisticsListener

The main exposer class of Jersey JMX MBeans. The class creates MBeans and contains methods that register and unregister MBeans.

Author:
Miroslav Fuksa (miroslav.fuksa at oracle.com)

Constructor Summary
MBeanExposer()
           
 
Method Summary
 void onStatistics(MonitoringStatistics statistics)
          The method is called when new statistics are available and statistics are passed as a argument.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MBeanExposer

public MBeanExposer()
Method Detail

onStatistics

public void onStatistics(MonitoringStatistics statistics)
Description copied from interface: MonitoringStatisticsListener
The method is called when new statistics are available and statistics are passed as a argument.

Specified by:
onStatistics in interface MonitoringStatisticsListener
Parameters:
statistics - Newly calculated monitoring statistics.


Copyright © 2007-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.