Package net.myrrix.online.io

Examples of net.myrrix.online.io.ResourceRetriever


    } else {

      if (keystoreFile == null || !keystoreFile.exists()) {
        log.info("Keystore file not found; trying to load remote keystore file if applicable");
        ResourceRetriever resourceRetriever =
            ClassUtils.loadInstanceOf("net.myrrix.online.io.DelegateResourceRetriever", ResourceRetriever.class);
        resourceRetriever.init(config.getBucket());
        keystoreFile = resourceRetriever.getKeystoreFile(config.getInstanceID());
        if (keystoreFile == null) {
          throw new FileNotFoundException();
        }
      }
View Full Code Here


      log.info("Found class(es) in local classpath");
      return AbstractRescorerProvider.loadRescorerProviders(rescorerProviderClassNames, null);
    }

    log.info("Class doesn't exist in local classpath");
    ResourceRetriever resourceRetriever =
        ClassUtils.loadInstanceOf("net.myrrix.online.io.DelegateResourceRetriever", ResourceRetriever.class);
    resourceRetriever.init(bucket);
    File tempResourceFile = resourceRetriever.getRescorerJar(instanceID);
    if (tempResourceFile == null) {
      log.info("No external rescorer JAR is available in this implementation");
      throw new ClassNotFoundException(rescorerProviderClassNames);
    }
View Full Code Here

      return ClassUtils.loadInstanceOf(clientThreadClassName, ClientThread.class);
    }
   
    log.info("Class doesn't exist in local classpath");
   
    ResourceRetriever resourceRetriever =
        ClassUtils.loadInstanceOf("net.myrrix.online.io.DelegateResourceRetriever", ResourceRetriever.class);
    resourceRetriever.init(bucket);
    File tempResourceFile = resourceRetriever.getClientThreadJar(instanceID);
    if (tempResourceFile == null) {
      log.info("No external client thread JAR is available in this implementation");
      throw new ClassNotFoundException(clientThreadClassName);
    }
   
View Full Code Here

TOP

Related Classes of net.myrrix.online.io.ResourceRetriever

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.