use of io.airlift.resolver.DefaultArtifact in project presto by prestodb.
the class PluginManager method buildClassLoaderFromCoordinates.
private URLClassLoader buildClassLoaderFromCoordinates(String coordinates) throws Exception {
Artifact rootArtifact = new DefaultArtifact(coordinates);
List<Artifact> artifacts = resolver.resolveArtifacts(rootArtifact);
return createClassLoader(artifacts, rootArtifact.toString());
}
Aggregations