|Modifier and Type||Method and Description|
Create a class loader using the artifact represented by artifactInfo with parent as parentClassloader Call to this method might take a long time based on the size of the artifact.
Get the list of artifacts in the repository in the current and system namespace
List<ArtifactInfo> listArtifacts() throws IOException
Listlist of artifact info
IOException- when there is an error retrieving artifacts
CloseableClassLoader createClassLoader(ArtifactInfo artifactInfo, @Nullable ClassLoader parentClassLoader) throws IOException
artifactInfo- artifact info
parentClassLoader- parent class loader, if null bootstrap classLoader shall be used as parent
IOException- if there were any exception while creating the class loader or if the artifact is not found
Copyright © 2018 Cask Data, Inc.. All rights reserved.