}
}).addDependency(threadFactoryServiceName, ThreadFactory.class, threadFactoryValue);
// Add the management communication service
final ManagementCommunicationService managementCommunicationService = new ManagementCommunicationService();
batchBuilder.addService(ManagementCommunicationService.SERVICE_NAME, managementCommunicationService)
.addDependency(NetworkInterfaceService.JBOSS_NETWORK_INTERFACE.append(managementElement.getInterfaceName()), NetworkInterfaceBinding.class, managementCommunicationService.getInterfaceInjector())
.addInjection(managementCommunicationService.getPortInjector(), managementElement.getPort())
.addDependency(executorServiceName, ExecutorService.class, managementCommunicationService.getExecutorServiceInjector())
.addDependency(threadFactoryServiceName, ThreadFactory.class, managementCommunicationService.getThreadFactoryInjector())
.setInitialMode(ServiceController.Mode.ACTIVE);