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

java.lang.Object
  extended by org.glassfish.jersey.server.internal.monitoring.jmx.ResourcesMBeanGroup

public class ResourcesMBeanGroup
extends Object

Group of resource MXBeans.

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

Constructor Summary
ResourcesMBeanGroup(Map<String,ResourceStatistics> resourceStatistics, boolean uriResource, MBeanExposer mBeanExposer, String parentName)
          Create a new group of MXBeans and expose nested Resource MXBeans.
 
Method Summary
 void updateResourcesStatistics(Map<String,ResourceStatistics> resourceStatistics)
          Update the resource statistics exposed by nested resource beans.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourcesMBeanGroup

public ResourcesMBeanGroup(Map<String,ResourceStatistics> resourceStatistics,
                           boolean uriResource,
                           MBeanExposer mBeanExposer,
                           String parentName)
Create a new group of MXBeans and expose nested Resource MXBeans.

Parameters:
resourceStatistics - Resource statistics that should be exposed by nested MXBeans.
uriResource - true if the resources are identified by URI (and not by java class names for example).
mBeanExposer - mbean exposer.
parentName - Name of the parent bean.
Method Detail

updateResourcesStatistics

public void updateResourcesStatistics(Map<String,ResourceStatistics> resourceStatistics)
Update the resource statistics exposed by nested resource beans.

Parameters:
resourceStatistics - New resource statistics.


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