new ValidatorProcessParameters(args);
// Create the tools we will need.
RemoteObjectSource objectSource =
openObjectSource(parms.getServiceInfo());
ValidationResults results =
new SimpleValidationResults(parms.getVerbose());
// Get the list of PIDs.
Iterator<String> pids = getPidIterator(parms, objectSource);
// Go through the list, validating.
ObjectValidator validator = new ObjectValidator(objectSource);
while (pids.hasNext()) {
results.record(validator.validate(pids.next()));
}
// Display the results.
results.closeResults();
} catch (ValidatorProcessUsageException e) {
System.err.println(e.getMessage());
}
}