@Override
  public void execute(final FunctionContext<Object> context) {
    Object args = context.getArguments();

    // Echo the arguments back to the caller for assertion
    if (args != null && args.getClass().isAssignableFrom(Object.class)) {
      // Object is not serializable
      context.getResultSender().lastResult(new ObjectMapper().createObjectNode());
    } else {
      context.getResultSender().lastResult(args);
    }
  }
The method which contains the logic to be executed. This method should be thread safe and may
be invoked more than once on a given member for a single {@link Execution}. The context
provided to this function is the one which was built using {@linkplain Execution}. The contexts
can be data dependent or data-independent so user should check to see if the context provided
in parameter is instance of {@link RegionFunctionContext}.

@param context as created by {@link Execution}
@since GemFire 6.0
geode-web-api/src/integrationTest/java/org/apache/geode/rest/internal/web/controllers/EchoArgumentFunction.java