|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.lang.ClassLoader
|
+--jason.core.JasonClassLoader
Created Thu Mar 28 15:44:07 2002
This is a classloader for user services. This classLoader is able to find a class from a set of directories or jar/zip file
| Constructor Summary | |
JasonClassLoader(java.lang.ClassLoader parent,
java.io.File refPath,
java.lang.String classpath)
|
|
JasonClassLoader(java.io.File refPath,
java.lang.String classpath)
Here a classpath definition that can contains .jar or .zip or a directory |
|
| Method Summary | |
protected java.lang.Class |
findClass(java.lang.String name)
This is the method where the task of class loading is delegated to our custom loader. |
java.lang.Class |
loadClass(java.lang.String name)
|
| Methods inherited from class java.lang.ClassLoader |
clearAssertionStatus, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, 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 JasonClassLoader(java.lang.ClassLoader parent,
java.io.File refPath,
java.lang.String classpath)
public JasonClassLoader(java.io.File refPath,
java.lang.String classpath)
refPath - the path the contains the xml service fileclasspath - the classpath for the service| Method Detail |
public java.lang.Class loadClass(java.lang.String name)
throws java.lang.ClassNotFoundException
loadClass in class java.lang.ClassLoaderjava.lang.ClassNotFoundException
protected java.lang.Class findClass(java.lang.String name)
throws java.lang.ClassNotFoundException
findClass in class java.lang.ClassLoadername - the name of the class
Class object
java.lang.ClassNotFoundException - if the class could not be found
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||