|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.ClassLoader de.netseeker.ejoe.EJClassLoader
public class EJClassLoader
A remote classloader using an EJClient instance (shared per EJServer) to retrieve class definitions from an EJServer. The last thousand retrieved classes are cached global over all instances of EJClassLoader. The used cache uses soft references.
Constructor Summary | |
---|---|
EJClassLoader(java.lang.ClassLoader parent,
java.lang.String host,
int port)
Creates a new instance of this classloader using the EJOE server on the given host and port for loading unknown class definitions. |
|
EJClassLoader(java.lang.String host,
int port)
Creates a new instance of this classloader using the EJOE server on the given host and port for loading unknown class definitions. |
Method Summary | |
---|---|
java.lang.Class |
loadClass(java.lang.String name)
|
protected java.lang.Class |
loadClass(java.lang.String name,
boolean resolve)
|
Methods inherited from class java.lang.ClassLoader |
---|
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, 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 EJClassLoader(java.lang.String host, int port)
host
- ip address or dns name where the EJOE classloader server is runningport
- port to which the EJOE classloader serve is listeningpublic EJClassLoader(java.lang.ClassLoader parent, java.lang.String host, int port)
parent
- parent classloaderhost
- ip address or dns name where the EJOE classloader server is runningport
- port to which the EJOE classloader serve is listeningMethod Detail |
---|
protected java.lang.Class loadClass(java.lang.String name, boolean resolve) throws java.lang.ClassNotFoundException
loadClass
in class java.lang.ClassLoader
java.lang.ClassNotFoundException
public java.lang.Class loadClass(java.lang.String name) throws java.lang.ClassNotFoundException
loadClass
in class java.lang.ClassLoader
java.lang.ClassNotFoundException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |