|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.ClassLoader | +--ermi.BusClassLoader
The BusClassLoader is a custom class loader that makes a request to the remote object for the stub class
when this is not found in the local machine. The remote object then sends the stub class using the event service
and the bussclassloader loads it in the custom virtual machine enabling highly dynamic remote applications.
The difference with java.RMI is that each object is then responsible for returning the stub class for remote clients.
See ERMI documentation for more information.
Constructor Summary | |
BusClassLoader(java.util.Properties env)
|
Method Summary | |
void |
close()
|
void |
eventArrived(java.util.Hashtable evt)
|
java.lang.Class |
loadClass(java.lang.String name,
boolean resolve)
Method that remote class load the specifed class |
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 |
Constructor Detail |
public BusClassLoader(java.util.Properties env)
Method Detail |
public void eventArrived(java.util.Hashtable evt)
public void close()
public java.lang.Class loadClass(java.lang.String name, boolean resolve) throws java.lang.ClassNotFoundException
loadClass
in class java.lang.ClassLoader
name
- Complete Class nameresolve
- Boolean Look up remotely.
java.lang.ClassNotFoundException
- Problem with the loaded Class. Nof found.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |