Package com.dtolabs.rundeck.core.plugins
Class JarPluginProviderLoader.CachedJar
- java.lang.Object
-
- com.dtolabs.rundeck.core.plugins.JarPluginProviderLoader.CachedJar
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
- Enclosing class:
- JarPluginProviderLoader
protected class JarPluginProviderLoader.CachedJar extends java.lang.Object implements java.io.Closeable
Holds the cached jar file, dir, libs list and class and resource loaders for a jar plugin
-
-
Constructor Summary
Constructors Constructor Description CachedJar(java.io.File dir, java.io.File cachedJar, java.util.Collection<java.io.File> depLibs, PluginResourceLoader resourcesLoader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
java.io.File
getCachedJar()
java.net.URLClassLoader
getClassLoader()
java.util.Collection<java.io.File>
getDepLibs()
java.io.File
getDir()
-
-
-
Constructor Detail
-
CachedJar
public CachedJar(java.io.File dir, java.io.File cachedJar, java.util.Collection<java.io.File> depLibs, PluginResourceLoader resourcesLoader) throws PluginException
- Throws:
PluginException
-
-
Method Detail
-
getDir
public java.io.File getDir()
-
getCachedJar
public java.io.File getCachedJar()
-
getDepLibs
public java.util.Collection<java.io.File> getDepLibs()
-
getClassLoader
public java.net.URLClassLoader getClassLoader() throws PluginException
- Throws:
PluginException
-
close
public void close() throws java.io.IOException
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Throws:
java.io.IOException
-
-