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);
}