code: public ModelNode resolveValue(final OperationContext context, final ModelNode value) throws OperationFailedException {
          return resolveValue(new ExpressionResolver() {
              @Override
              public ModelNode resolveExpressions(ModelNode node) throws OperationFailedException {
                  return context.resolveExpressions(node);
              }
          }, value);
      }
docs: Takes the given {@code value}, resolves it using the given {@code context}
  and validates it using this attribute's {@link #getValidator() validator}. If the value is
  undefined and a {@link #getDefaultValue() default value} is available, the default value is used.
  
  @param context the context to use to {@link OperationContext#resolveExpressions(org.jboss.dmr.ModelNode) resolve} the value
  @param value a node that is expected to be a valid value for an attribute defined by this definition
  
  @return the resolved value, possibly the default value if {@code value} is not defined
  
  @throws OperationFailedException if the value is not valid