Class PlatformManagementServer

    • Constructor Detail

      • PlatformManagementServer

        public PlatformManagementServer()
    • Method Detail

      • start

        public void start()
        Description copied from interface: ManagementServer
        Start the Management Server. If this operation is invoked while the server is started, this operation is ignored. This operation can also connect to a remote MBeanServer, instead of creating a new MBeanServer instance. This depends on the configuration.
        Specified by:
        start in interface ManagementServer
      • stop

        public void stop()
        Description copied from interface: ManagementServer
        Stop the Management Server. If this operation is invoked while the server is stop, this operation is ignored. This operation can also disconnect from a remote MBeanServer, instead of destroying a MBeanServer instance. This depends on the configuration.
        Specified by:
        stop in interface ManagementServer
      • registerMBean

        public void registerMBean​(Object mbean,
                                  String name)
        Register a MBean into the MBeanServer
        Specified by:
        registerMBean in interface ManagementServer
        Parameters:
        mbean - the MBean instance
        name - the mbean name
      • unregisterMBean

        public void unregisterMBean​(String name)
        Unregister a MBean from the MBeanServer
        Specified by:
        unregisterMBean in interface ManagementServer
        Parameters:
        name - the mbean name