@Override protected void recoverServices(OperationContext context, ModelNode operation, ModelNode model) throws OperationFailedException { HttpManagementAddHandler.populateHostControllerInfo(hostControllerInfo, context, model); HttpManagementAddHandler.installHttpManagementServices(context.getRunningMode(), context.getServiceTarget(), hostControllerInfo, environment, null, false); }
@Override protected void performRuntime(OperationContext context, ModelNode operation, ModelNode model, ServiceVerificationHandler verificationHandler, List<ServiceController<?>> newControllers) throws OperationFailedException { populateHostControllerInfo(hostControllerInfo, context, model); // DomainModelControllerService requires this service final boolean onDemand = context.isBooting(); installHttpManagementServices(context.getRunningMode(), context.getServiceTarget(), hostControllerInfo, environment, verificationHandler, onDemand); }
static void updateHttpManagementService(final OperationContext context, final ModelNode subModel, final LocalHostControllerInfoImpl hostControllerInfo, final HostControllerEnvironment environment, final ServiceVerificationHandler verificationHandler) throws OperationFailedException { HttpManagementRemoveHandler.removeHttpManagementService(context); HttpManagementAddHandler.populateHostControllerInfo(hostControllerInfo, context, subModel); HttpManagementAddHandler.installHttpManagementServices(context.getRunningMode(), context.getServiceTarget(), hostControllerInfo, environment, verificationHandler, false); }