|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.ClassLoader | +--jason.service.crusader.CrusaderLoader
Field Summary | |
protected byte[] |
byteCode
|
protected java.lang.Class |
servletClass
|
protected java.io.File |
servletClassFile
|
Constructor Summary | |
CrusaderLoader()
|
Method Summary | |
byte[] |
getClassData()
This method is responsible to return the byte code read from the .class file in an array of bytes. |
java.lang.Class |
loadClass(java.lang.String className,
boolean resolve)
This method is being overriden to introduce a custom behavior - though it is strictly not required in Java2. |
void |
setServletClassFile(java.io.File servletClassFile)
This method shall be used by CrusaderCore to pass the File object representing the .class file
of the Servlet class to be loaded. |
Methods inherited from class java.lang.ClassLoader |
clearAssertionStatus, defineClass, defineClass, defineClass, definePackage, findClass, 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 |
Field Detail |
protected java.lang.Class servletClass
protected java.io.File servletClassFile
protected byte[] byteCode
Constructor Detail |
public CrusaderLoader()
Method Detail |
public void setServletClassFile(java.io.File servletClassFile)
CrusaderCore
to pass the File object representing the .class file
of the Servlet class to be loaded.
public java.lang.Class loadClass(java.lang.String className, boolean resolve)
loadClass
in class java.lang.ClassLoader
public byte[] getClassData()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |