protected boolean applyUpdateToRuntime(final OperationContext context, final ModelNode operation,
final String parameterName, final ModelNode newValue,
final ModelNode currentValue) throws OperationFailedException {
if (context.getType() == OperationContext.Type.SERVER) {
context.addStep(new OperationStepHandler() {
public void execute(OperationContext context, ModelNode operation) throws OperationFailedException {
final PathAddress address = PathAddress.pathAddress(operation.require(OP_ADDR));
final String jndiName = address.getLastElement().getValue();
final ServiceController<?> managementRepoService = context.getServiceRegistry(false).getService(