|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.ClassLoader
org.objectweb.carol.irmi.UnionClassLoader
UnionClassLoader is a utility class used by the RMI Server
as the context class loader during deserialization in order to find
classes accessible from both the remote object's class loader and
the context class loader at the time the remote object was
exported.
Constructor Summary | |
UnionClassLoader(java.lang.ClassLoader one,
java.lang.ClassLoader two)
Constructs a ClassLoader that tries to load classes
from both of the given ClassLoader arguments. |
Method Summary | |
static UnionClassLoader |
get(java.lang.ClassLoader one,
java.lang.ClassLoader two)
Instantiates a new UnionClassLoader if necessory or returns a previously instantiated one. |
protected java.lang.Class |
loadClass(java.lang.String name,
boolean resolve)
|
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 UnionClassLoader(java.lang.ClassLoader one, java.lang.ClassLoader two)
ClassLoader
that tries to load classes
from both of the given ClassLoader
arguments.
one
- the first ClassLoader
to checktwo
- the second ClassLoader
to checkMethod Detail |
public static UnionClassLoader get(java.lang.ClassLoader one, java.lang.ClassLoader two)
one
- the first ClassLoader
to load fromtwo
- the second ClassLoader
to load fromprotected java.lang.Class loadClass(java.lang.String name, boolean resolve) throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |