/**
* Start the management service if gemfirexd.system.jmx is true.
* <P>
* Starting the service means:
* <UL>
* <LI> getting the platform MBeanServer which may require starting it
* <LI> registering a Version mbean representing the system
* </UL>
*/
public synchronized void boot(boolean create, Properties properties)
throws StandardException {
registeredMbeans = new HashMap<ObjectName,StandardMBean>();
systemIdentifier =
Monitor.getMonitor().getUUIDFactory().createUUID().toString();
findServer();
myManagementBean = (ObjectName) registerMBean(this,
ManagementMBean.class,
"type=Management");
myManagementServer = mbeanServer;
registerMBean(
new Version(
Monitor.getMonitor().getEngineVersion(),
SystemPermission.ENGINE),
VersionMBean.class,
"type=Version,jar=gemfirexd.jar");
}
JMXManagementService.java 文件源码
java
阅读 24
收藏 0
点赞 0
评论 0
项目:gemfirexd-oss
作者:
评论列表
文章目录