/** * Constructor. * @param pluginArtifactFile plugin artifact * @throws IOException if an I/O error has occurred */ public PluginClassLoader(File pluginArtifactFile) throws IOException { super(); closed = false; this.pluginArtifactZip = new ZipFile(pluginArtifactFile); this.workDir = createWorkDir(pluginArtifactFile); indexPluginArtifact(); }
/** * Constructor. * @param pluginArtifactFile plugin artifact * @throws IOException if an I/O error has occurred */ public PluginClassLoader(File pluginArtifactFile) throws IOException { super(); closed = false; this.pluginArtifactZip = new ZipFile(pluginArtifactFile); this.workDir = createWorkDir(pluginArtifactFile); indexPluginArtifact(); }
/** * Constructor. * @param pluginArtifactFile plugin artifact * @param parent parent classloader * @throws IOException if an I/O error has occurred */ public PluginClassLoader(File pluginArtifactFile, ClassLoader parent) throws IOException { super(parent); this.pluginArtifactZip = new ZipFile(pluginArtifactFile); this.workDir = createWorkDir(pluginArtifactFile); indexPluginArtifact(); }
/** * Constructor. * @param pluginArtifactFile plugin artifact * @param parent parent classloader * @throws IOException if an I/O error has occurred */ public PluginClassLoader(File pluginArtifactFile, ClassLoader parent) throws IOException { super(parent); this.pluginArtifactZip = new ZipFile(pluginArtifactFile); this.workDir = createWorkDir(pluginArtifactFile); indexPluginArtifact(); }