@Deprecated
  public static void invokeInEveryVM(final Class<?> targetClass, final String targetMethod,
      final Object[] methodArgs) {
    for (int hostIndex = 0; hostIndex < Host.getHostCount(); hostIndex++) {
      Host host = Host.getHost(hostIndex);

      for (VM vm : host.getAllVMs()) {
        vm.invoke(targetClass, targetMethod, methodArgs);
      }
    }
  }
Invokes a method in every remote VM that DUnit knows about.

@param targetClass The class on which to invoke the method
@param targetMethod The name of the method to invoke
@param methodArgs Arguments passed to the method call (must be {@link Serializable}).
@see VM#invoke(Class, String)
@deprecated Please use {@link #invokeInEveryVM(SerializableRunnableIF)} or another
            non-deprecated method in <code>Invoke</code> instead.
geode-dunit/src/main/java/org/apache/geode/test/dunit/Invoke.java