public class EnhancerClassLoader extends URLClassLoader
| Modifier and Type | Field and Description |
|---|---|
static String |
DO_SIMPLE_TIMING |
static String |
VERBOSE_LEVEL |
static String |
VERBOSE_LEVEL_DEBUG |
static String |
VERBOSE_LEVEL_QUIET |
static String |
VERBOSE_LEVEL_VERBOSE |
static String |
VERBOSE_LEVEL_WARN |
| Modifier | Constructor and Description |
|---|---|
|
EnhancerClassLoader(String classpath,
JDOMetaData metaData,
Properties settings,
PrintWriter out)
Creates a new EnhancerClassLoader for the specified url.
|
|
EnhancerClassLoader(String classpath,
Properties settings,
PrintWriter out)
Creates a new EnhancerClassLoader for the specified url.
|
protected |
EnhancerClassLoader(URL[] urls)
Creates a new EnhancerClassLoader for the specified url.
|
protected |
EnhancerClassLoader(URL[] urls,
ClassLoader loader)
Creates a new EnhancerClassLoader for the specified url.
|
|
EnhancerClassLoader(URL[] urls,
JDOMetaData metaData,
Properties settings,
PrintWriter out)
Creates a new EnhancerClassLoader for the specified url.
|
|
EnhancerClassLoader(URL[] urls,
Properties settings,
PrintWriter out)
Creates a new EnhancerClassLoader for the specified url.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addURL(URL url)
Appends the specified URL to the list of URLs to search for
classes and resources.
|
Class |
loadClass(String name,
boolean resolve) |
static URL[] |
pathToURLs(String classpath) |
close, definePackage, findClass, findResource, findResources, getPermissions, getResourceAsStream, getURLs, newInstance, newInstancedefineClass, defineClassclearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResource, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSignerspublic static final String DO_SIMPLE_TIMING
public static final String VERBOSE_LEVEL
public static final String VERBOSE_LEVEL_QUIET
public static final String VERBOSE_LEVEL_WARN
public static final String VERBOSE_LEVEL_VERBOSE
public static final String VERBOSE_LEVEL_DEBUG
protected EnhancerClassLoader(URL[] urls)
urls - the classpath to searchprotected EnhancerClassLoader(URL[] urls, ClassLoader loader)
urls - the classpath to searchpublic EnhancerClassLoader(String classpath, Properties settings, PrintWriter out)
classpath - the classpath to searchpublic EnhancerClassLoader(URL[] urls, Properties settings, PrintWriter out)
urls - the classpath to searchpublic EnhancerClassLoader(String classpath, JDOMetaData metaData, Properties settings, PrintWriter out)
classpath - the classpath to searchpublic EnhancerClassLoader(URL[] urls, JDOMetaData metaData, Properties settings, PrintWriter out)
urls - the classpath to searchprotected void addURL(URL url)
addURL in class URLClassLoaderurl - the URL to be added to the search path of URLspublic Class loadClass(String name, boolean resolve) throws ClassNotFoundException
loadClass in class ClassLoaderClassNotFoundExceptionCopyright © 2013. All Rights Reserved.