config = hazelcastInstance.getConfig();
cluster = hazelcastInstance.getCluster();
Node node = hazelcastInstance.node;
ExecutionService executionService = node.nodeEngine.getExecutionService();
nodeMBean = new NodeMBean(hazelcastInstance, node, managementService);
register(nodeMBean);
connectionManagerMBean = new ConnectionManagerMBean(hazelcastInstance, node.connectionManager, service);
register(connectionManagerMBean);
eventServiceMBean = new EventServiceMBean(hazelcastInstance, node.nodeEngine.getEventService(), service);
register(eventServiceMBean);
OperationService operationService = node.nodeEngine.getOperationService();
operationServiceMBean = new OperationServiceMBean(hazelcastInstance, operationService, service);
register(operationServiceMBean);
proxyServiceMBean = new ProxyServiceMBean(hazelcastInstance, node.nodeEngine.getProxyService(), service);
register(proxyServiceMBean);
partitionServiceMBean = new PartitionServiceMBean(hazelcastInstance, node.partitionService,service);
register(partitionServiceMBean);
clientEngineMBean = new ClientEngineMBean(hazelcastInstance, node.clientEngine, service);
register(clientEngineMBean);
systemExecutorMBean = new ManagedExecutorServiceMBean(
hazelcastInstance, executionService.getExecutor(ExecutionService.SYSTEM_EXECUTOR), service);
register(systemExecutorMBean);
operationExecutorMBean = new ManagedExecutorServiceMBean(
hazelcastInstance, executionService.getExecutor(ExecutionService.OPERATION_EXECUTOR), service);
register(operationExecutorMBean);
asyncExecutorMBean = new ManagedExecutorServiceMBean(
hazelcastInstance, executionService.getExecutor(ExecutionService.ASYNC_EXECUTOR), service);
register(asyncExecutorMBean);
scheduledExecutorMBean = new ManagedExecutorServiceMBean(
hazelcastInstance, executionService.getExecutor(ExecutionService.SCHEDULED_EXECUTOR), service);
register(scheduledExecutorMBean);
clientExecutorMBean = new ManagedExecutorServiceMBean(
hazelcastInstance, executionService.getExecutor(ExecutionService.CLIENT_EXECUTOR), service);
register(clientExecutorMBean);
queryExecutorMBean = new ManagedExecutorServiceMBean(
hazelcastInstance, executionService.getExecutor(ExecutionService.QUERY_EXECUTOR), service);
register(queryExecutorMBean);
ioExecutorMBean = new ManagedExecutorServiceMBean(
hazelcastInstance, executionService.getExecutor(ExecutionService.IO_EXECUTOR), service);
register(ioExecutorMBean);
}