|
JAC project AOPSYS CEDRIC & LIP6 labs |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.ClassLoader | +--org.objectweb.jac.core.dist.DistdClassLoader
DistdClassLoader is a class loader that load classes from a remote JAC container (the class repository site).
RemoteContainer.getByteCodeFor(String)
Field Summary | |
boolean |
bootstrapping
Bootstrapping flag (do not load classes while true). |
static String |
classRepositoryName
The class repository site. |
protected Hashtable |
loadedByteCodes
loadedByteCodes is a hashtable of byte codes that have been remotely load (so that this site may be used as an intermediate class repository. |
protected Hashtable |
loadedClasses
loadedClasses is a hashtable of classes that have been loaded. |
Constructor Summary | |
DistdClassLoader()
|
Method Summary | |
byte[] |
getByteCode(String className)
Gets the bytecode for a given remotely loaded class name. |
Class |
loadClass(String name)
Overrides the default mechanism to load classes (only for non-java classes). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected transient Hashtable loadedClasses
protected Hashtable loadedByteCodes
public boolean bootstrapping
public static String classRepositoryName
Constructor Detail |
public DistdClassLoader()
Method Detail |
public Class loadClass(String name) throws ClassNotFoundException
loadClass
in class ClassLoader
name
- the name for the class to load
ClassNotFoundException
public byte[] getByteCode(String className)
className
- the name of the class
|
Contact JAC development team: Renaud Pawlak Lionel Seinturier Laurent Martelli |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |