org.mortbay.http
public class ContextLoader extends URLClassLoader
Version: $Id: ContextLoader.java,v 1.37 2006/01/09 07:26:12 gregwilkins Exp $
| Constructor Summary | |
|---|---|
| ContextLoader(HttpContext context, String classPath, ClassLoader parent, PermissionCollection permisions) Constructor. | |
| Method Summary | |
|---|---|
| void | destroy() |
| PermissionCollection | getPermissions(CodeSource cs) |
| URL | getResource(String name) |
| boolean | isJava2Compliant() |
| boolean | isServerPath(String name) |
| boolean | isSystemPath(String name) |
| Class | loadClass(String name) |
| protected Class | loadClass(String name, boolean resolve) |
| void | setJava2Compliant(boolean compliant) Set Java2 compliant status. |
| String | toString() |
Parameters: classPath Comma separated path of filenames or URLs pointing to directories or jar files. Directories should end with '/'.
Throws: IOException
Parameters: compliant