private static ValidationFactory validationFactory;
public static ValidationFactory getFactoryInstance() {
if (validationFactory == null) {
try {
ValidationMessages valMessages =
Gwti18nReader.create(ValidationMessages.class);
validationFactory = new ValidationFactory(valMessages);
} catch (IOException e) {
throw new ValidationException(
"Unable to load validation messages");