public class GeneratedClassLoader extends ClassLoader
Constructor and Description |
---|
GeneratedClassLoader()
Create a new loader with the default parent.
|
GeneratedClassLoader(ClassLoader parent)
Create a new loader with an explicitly set parent class loader.
|
Modifier and Type | Method and Description |
---|---|
Class |
defineClass(GeneratedCodeClass cc)
Define a class based upon a GeneratedCodeClass.
|
boolean |
hasGeneratedClass(String name)
Discover if a class for this name has already been defined by this class
loader.
|
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
public GeneratedClassLoader()
public GeneratedClassLoader(ClassLoader parent)
parent
- the parent ClassLoaderpublic Class defineClass(GeneratedCodeClass cc) throws CodeException
cc
- the GeneratedCodeClass to defineCodeException
- if there was a failure defining the classpublic boolean hasGeneratedClass(String name)
name
- the name of the classCopyright © 2014 BioJava. All rights reserved.