.addDependency(ServerToHostOperationHandler.SERVICE_NAME) // make sure servers can register
.setInitialMode(Mode.ACTIVE)
.install();
// Add the management communication service
final ManagementCommunicationService managementCommunicationService = new ManagementCommunicationService();
serviceTarget.addService(ManagementCommunicationService.SERVICE_NAME, managementCommunicationService)
.addDependency(NetworkInterfaceService.JBOSS_NETWORK_INTERFACE.append(mgmtNetwork), NetworkInterfaceBinding.class, managementCommunicationService.getInterfaceInjector())
.addInjection(managementCommunicationService.getPortInjector(), mgmtPort)
.addDependency(executorServiceName, ExecutorService.class, managementCommunicationService.getExecutorServiceInjector())
.addDependency(threadFactoryServiceName, ThreadFactory.class, managementCommunicationService.getThreadFactoryInjector())
.setInitialMode(Mode.ACTIVE)
.install();
// install the domain controller
activateDomainController(environment, hostModelNode, serviceTarget, environment.isBackupDomainFiles(), environment.isUseCachedDc());