org.datanucleus.management
Interface ManagementServer


public interface ManagementServer

Management Server for MBeans. Plugin Extension Point: org.datanucleus.management_server The implementation of this class must have a default public constructor


Method Summary
 void registerMBean(java.lang.Object mbean, java.lang.String name)
          Register a MBean into the MBeanServer
 void start()
          Start the Management Server.
 void stop()
          Stop the Management Server.
 void unregisterMBean(java.lang.String name)
          Unregister a MBean from the MBeanServer
 

Method Detail

start

void start()
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 of the configuration.


stop

void stop()
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 of the configuration.


registerMBean

void registerMBean(java.lang.Object mbean,
                   java.lang.String name)
Register a MBean into the MBeanServer

Parameters:
mbean - the MBean instance
name - the mbean name

unregisterMBean

void unregisterMBean(java.lang.String name)
Unregister a MBean from the MBeanServer

Parameters:
name - the mbean name


Copyright © 2011. All Rights Reserved.