processorTarget.addDeploymentProcessor(Constants.SUBSYSTEM_NAME, Phase.INSTALL, Phase.INSTALL_APPLICATION_CLIENT, new ApplicationClientStartProcessor(hostUrl, connectionPropertiesUrl, parameters == null ? new String[0] : parameters.toArray(EMPTY_STRING)));
}
}, OperationContext.Stage.RUNTIME);
final ApplicationClientDeploymentService service = new ApplicationClientDeploymentService(file);
newControllers.add(
context.getServiceTarget().addService(ApplicationClientDeploymentService.SERVICE_NAME, service)
.addDependency(Services.JBOSS_SERVER_CONTROLLER, ModelController.class, service.getControllerValue())
.install());
}