|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.ClassLoader
java.security.SecureClassLoader
java.net.URLClassLoader
org.openmdx.kernel.application.deploy.spi.LightweightClassLoader
public class LightweightClassLoader
Lightweight Class Loader
| Constructor Summary | |
|---|---|
LightweightClassLoader(String type,
String shortDescription,
ClassLoader parent)
Constructor |
|
LightweightClassLoader(String type,
String shortDescription,
ClassLoader parent,
URL[] urls)
Constructor |
|
| Method Summary | |
|---|---|
void |
addURLs(URL[] urls)
Add a list of URLs to the lightweight class loader's search path, including libraries referred to by manifest class-path entires. |
protected static URL |
getImplementationURL(URL url)
The Manifest is optional as well as its Implementation-URL attribute. |
static Manifest |
getManifest(File module)
The Manifest is optional. |
protected static Manifest |
getManifest(String module)
The Manifest is optional. |
static Manifest |
getManifest(URL module)
The Manifest is optional. |
static URL[] |
getManifestClassPath(URL url)
The Manifest is optional as well as its Class-Path attribute. |
protected static URL |
toCanonicalForm(URL url)
Converts file URL to their canaonical form |
String |
toString()
|
| 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.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LightweightClassLoader(String type,
String shortDescription,
ClassLoader parent)
type - shortDescription - parent - urls -
public LightweightClassLoader(String type,
String shortDescription,
ClassLoader parent,
URL[] urls)
throws IOException
type - shortDescription - parent - urls -
IOException| Method Detail |
|---|
public void addURLs(URL[] urls)
throws IOException
urls -
IOException
protected static URL toCanonicalForm(URL url)
throws IOException
url -
IOExceptionpublic String toString()
toString in class Object
public static Manifest getManifest(File module)
throws IOException
module -
IOException
protected static Manifest getManifest(String module)
throws IOException
module -
IOException
public static Manifest getManifest(URL module)
throws IOException
module -
IOException
public static URL[] getManifestClassPath(URL url)
throws IOException
url -
IOException
protected static URL getImplementationURL(URL url)
throws IOException
url -
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||