Package com.esri.gpt.control.webharvest.validator

Examples of com.esri.gpt.control.webharvest.validator.IConnectionChecker


     
      // perform check through the validator
      HrRecord repository = getEditor().getRepository();
      ValidatorFactory validatorFactory = ValidatorFactory.getInstance();
      IValidator validator = validatorFactory.getValidator(repository);
      IConnectionChecker destinationChecker = validator.listConnectionCheckers().get("destination");
     
      if (destinationChecker!=null && destinationChecker.checkConnection(new MessageCollectorAdaptor(extractMessageBroker()))) {
        extractMessageBroker().addSuccessMessage("catalog.harvest.manage.test.success");
      }
     
    } catch (Throwable t) {
      handleException(t);
View Full Code Here

TOP

Related Classes of com.esri.gpt.control.webharvest.validator.IConnectionChecker

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.