Closeable
, AutoCloseable
public class MappedObjectClassLoader extends URLClassLoader
fork(java.lang.Class<?>, java.lang.String[])
method.Modifier and Type | Method | Description |
---|---|---|
static boolean |
fork(Class<?> mainClass,
String[] args) |
Forks the specified class containing a main method, passing the specified arguments.
|
protected Class<?> |
loadClass(String name,
boolean resolve) |
|
protected Class<?> |
loadMappedObject() |
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findSystemClass, getClassLoadingLock, getDefinedPackage, getDefinedPackages, getName, getPackage, getPackages, getParent, getPlatformClassLoader, getResource, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, getUnnamedModule, isRegisteredAsParallelCapable, loadClass, registerAsParallelCapable, resolveClass, resources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
defineClass, defineClass
addURL, close, definePackage, findClass, findResource, findResources, getPermissions, getResourceAsStream, getURLs, newInstance, newInstance
public static boolean fork(Class<?> mainClass, String[] args)
org.lwjgl.test.mapped.TestMappedObject
for example usage.mainClass
- the class containing the main methodargs
- the arguments to passprotected Class<?> loadMappedObject() throws ClassNotFoundException
ClassNotFoundException
protected Class<?> loadClass(String name, boolean resolve) throws ClassNotFoundException
loadClass
in class ClassLoader
ClassNotFoundException
Copyright © 2002-2009 lwjgl.org. All Rights Reserved.