Class JMXManagementProvider

    • Constructor Detail

      • JMXManagementProvider

        public JMXManagementProvider()
      • JMXManagementProvider

        public JMXManagementProvider​(MBeanServer server)
    • Method Detail

      • manage

        public Object manage​(ManagedResource context)
        Description copied from interface: ManagementProvider
        Instruct the management provider to manage the provided managed resource. If any registration is done the provider should return an unique key that will be used later for unregistration purpose in the ManagementProvider.unmanage(Object) method. If no registration is performed then null should be returned.
        Specified by:
        manage in interface ManagementProvider
        Parameters:
        context - the managed resource
        Returns:
        the key under which the resource is registered
      • unmanage

        public void unmanage​(Object key)
        Description copied from interface: ManagementProvider
        Instruct the management provider to remove the specifed resource from management.
        Specified by:
        unmanage in interface ManagementProvider
        Parameters:
        key - the key under which the resource is registered