final ServerManagerConnectionService smConnection = new ServerManagerConnectionService();
batchBuilder.addService(ServerManagerConnectionService.SERVICE_NAME, smConnection)
.addInjection(smConnection.getSmAddressInjector(), managementSocket)
.setInitialMode(ServiceController.Mode.ACTIVE);
final ServerManagerClient client = new ServerManagerClient();
batchBuilder.addService(ServerManagerClient.SERVICE_NAME, client)
.addDependency(ServerManagerConnectionService.SERVICE_NAME, Connection.class, client.getSmConnectionInjector())
.addDependency(ServerController.SERVICE_NAME, ServerController.class, client.getServerControllerInjector())
.setInitialMode(ServiceController.Mode.ACTIVE);
}