|
||||||||||
| 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
at.spardat.xma.boot.comp.CCLoader
custom classloader, created for each xma-application ! lazy loading is not supported until now !
| Constructor Summary | |
CCLoader(java.net.URL[] classpath)
Contructs a CCLoader |
|
CCLoader(java.net.URL[] classpath,
java.lang.ClassLoader parent)
Contructs a CCLoader |
|
| Method Summary | |
void |
addNativeLib(java.net.URL url)
Appends the specified URL representing a native library to the list of URLs to search for native libraries. |
void |
addNativeLibPath(java.net.URL url)
Appends the specified URL to the list of URLs representing paths to search for native libraries. |
void |
addNativeLibPaths(java.util.Collection list)
Appends the URLs in the specified Collection to the list of URLs reprsenting paths to search for native libraries. |
void |
addNativeLibs(java.util.Collection list)
Appends the URLs in the specified Collection to the list of URLs to search for native libraries. |
void |
addURL(java.net.URL url)
Appends the specified URL to the list of URLs to search for classes and resources. |
java.lang.String |
findLibrary(java.lang.String libname)
Returns the absolute path name of a native library. |
| Methods inherited from class java.net.URLClassLoader |
definePackage, findClass, findResource, findResources, getPermissions, getURLs, newInstance, newInstance |
| Methods inherited from class java.security.SecureClassLoader |
defineClass |
| Methods inherited from class java.lang.ClassLoader |
clearAssertionStatus, defineClass, defineClass, defineClass, definePackage, 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 CCLoader(java.net.URL[] classpath)
classpath - containing one URL for each directory or jar-file to search for classes
public CCLoader(java.net.URL[] classpath,
java.lang.ClassLoader parent)
classpath - containing one URL for each directory or jar-file to search for classesparent - the parent class loader to use| Method Detail |
public void addURL(java.net.URL url)
url - the URL to be added to the class path of URLspublic void addNativeLib(java.net.URL url)
url - the URL to be added to the library path of URLspublic void addNativeLibPath(java.net.URL url)
url - public void addNativeLibs(java.util.Collection list)
list - of URLs to be added to the library path of URLspublic void addNativeLibPaths(java.util.Collection list)
list - of URLs to be added to the library path of URLspublic java.lang.String findLibrary(java.lang.String libname)
addNativeLib(URL) and addNativeLibs(Collection).
The VM invokes this method to locate the native libraries
that belong to classes loaded with this class loader.
libname - The library name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||