PrimitiveClassLoader

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

The URLClassLoader for loading external Primitives through the Primitive linking system.

Author

Richard Arriaga

Parameters

jarFile

The File location of the jar file to load that contains the Primitives.

moduleName

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

parent

The parent ClassLoader of this PrimitiveClassLoader.

Constructors

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

Types

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 PrimitiveClassLoader for loading Primitives from 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 Primitive.PrimitiveHolders loaded by this PrimitiveClassLoader then close this PrimitiveClassLoader.

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