Class ComponentsJmxRegistration


  • public class ComponentsJmxRegistration
    extends Object
    Registers a set of components on an MBean server.
    Since:
    4.0
    Author:
    Mircea.Markus@jboss.com, Galder ZamarreƱo
    • Field Detail

      • COMPONENT_KEY

        public static String COMPONENT_KEY
      • NAME_KEY

        public static String NAME_KEY
    • Method Detail

      • setJmxDomain

        public void setJmxDomain​(String jmxDomain)
      • registerMBeans

        public void registerMBeans​(Collection<ResourceDMBean> resourceDMBeans)
                            throws org.infinispan.commons.CacheException
        Performs the MBean registration.
        Parameters:
        resourceDMBeans -
        Throws:
        org.infinispan.commons.CacheException
      • unregisterMBeans

        public void unregisterMBeans​(Collection<ResourceDMBean> resourceDMBeans)
                              throws org.infinispan.commons.CacheException
        Unregisters all the MBeans registered through registerMBeans(Collection).
        Parameters:
        resourceDMBeans -
        Throws:
        org.infinispan.commons.CacheException