FileDocCategorySizeDatePackage
MonitoringMBeansFactory.javaAPI DocGlassfish v2 API3263Fri May 04 22:24:20 BST 2007com.sun.enterprise.admin.monitor.registry.spi

MonitoringMBeansFactory

public class MonitoringMBeansFactory extends Object
Factory to produce a DynamicMBean for a given Stats object.
author
Shreedhar Ganapathy

Fields Summary
Constructors Summary
Methods Summary
public static javax.management.DynamicMBeangenerateMonitoringMBean(javax.management.j2ee.statistics.Stats stats)
returns a DynamicMBean for monitoring purposes given a Stats object.

param
javax.management.j2ee.statistics.Stats
return
javax.management.DynamicMBean

        GeneratedMonitoringMBeanImpl m = new GeneratedMonitoringMBeanImpl(stats);
        m.introspect();
        return m;