|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.ClassLoader java.security.SecureClassLoader java.net.URLClassLoader org.jwalk.GeneratorLoader
public class GeneratorLoader
GeneratorLoader is a class loader for loading custom generators. A single GeneratorLoader is constructed for each JWalk runtime. This permits each CustomGenerator class to be loaded once per runtime (and once loaded, a CustomGenerator class cannot be reloaded).
Constructor Summary | |
---|---|
GeneratorLoader(java.lang.ClassLoader delegate)
Creates a GeneratorLoader that delegates to another loader. |
Method Summary | |
---|---|
boolean |
addDirectory(java.io.File directory)
Adds a directory path to the current list of search paths. |
Methods inherited from class java.net.URLClassLoader |
---|
addURL, definePackage, findClass, findResource, findResources, getPermissions, getURLs, newInstance, newInstance |
Methods inherited from class java.security.SecureClassLoader |
---|
defineClass, defineClass |
Methods inherited from class java.lang.ClassLoader |
---|
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GeneratorLoader(java.lang.ClassLoader delegate)
delegate
- the delegate ClassLoader to use first.Method Detail |
---|
public boolean addDirectory(java.io.File directory)
directory
- a directory path.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |