LibraryClassLoader

class LibraryClassLoader(jarFile: File, val moduleName: A_String, parent: ClassLoader = Primitive::class.java.classLoader) : URLClassLoader

The URLClassLoader for loading external Jars through the Pojo linking system.

Author

Richard Arriaga

Parameters

jarFile

The File location of the jar file to load.

moduleName

The A_String module name of the module that created this class loader.

parent

The parent ClassLoader of this LibraryClassLoader.

Constructors

Link copied to clipboard
constructor(jarFile: File, moduleName: A_String, parent: ClassLoader = Primitive::class.java.classLoader)

Construct a LibraryClassLoader.

Types

Link copied to clipboard

A helper class to assist with lazy loading of classes from a library.

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The fully qualified A_String name of the module that is responsible for creating this LibraryClassLoader for loading the target jar file.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun cleanup()

Cleanup all of the ClassHolders loaded by this LibraryClassLoader then close this LibraryClassLoader.

Link copied to clipboard
Link copied to clipboard
open override fun close()
Link copied to clipboard
open override fun findResource(p0: String): URL
Link copied to clipboard
open override fun findResources(p0: String): Enumeration<URL>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getResource(p0: String): URL
Link copied to clipboard
open override fun getResourceAsStream(p0: String): InputStream
Link copied to clipboard
Link copied to clipboard
open fun getURLs(): Array<URL>
Link copied to clipboard
open fun loadClass(p0: String): Class<*>
Link copied to clipboard
open fun resources(p0: String): Stream<URL>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard