final String webHost = VIRTUAL_HOST.resolveModelAttribute(context, operation).asString();
final String webContext = CONTEXT.resolveModelAttribute(context, operation).asString();
final int waitTime = WAIT_TIME.resolveModelAttribute(context, operation).asInt();
try {
service.stopContext(webHost, webContext, waitTime, TimeUnit.SECONDS);
} catch (IllegalArgumentException e) {
throw new OperationFailedException(new ModelNode().set(ModClusterLogger.ROOT_LOGGER.contextOrHostNotFound(webHost, webContext)));
}
context.completeStep(new OperationContext.RollbackHandler() {