All Packages Class Hierarchy This Package Previous Next Index
Class sun.beanbox.ObjectInputStreamWithLoader
java.lang.Object
|
+----java.io.InputStream
|
+----java.io.ObjectInputStream
|
+----sun.beanbox.ObjectInputStreamWithLoader
- public class ObjectInputStreamWithLoader
- extends ObjectInputStream
This subclass of ObjectInputStream delegates loading of classes to
an existing ClassLoader.
-
ObjectInputStreamWithLoader(InputStream, ClassLoader)
- Loader must be non-null;
-
getClassLoader()
-
-
resolveClass(ObjectStreamClass)
- Use the given ClassLoader rather than using the system class
ObjectInputStreamWithLoader
public ObjectInputStreamWithLoader(InputStream in,
ClassLoader loader) throws IOException, StreamCorruptedException
- Loader must be non-null;
resolveClass
protected Class resolveClass(ObjectStreamClass classDesc) throws IOException, ClassNotFoundException
- Use the given ClassLoader rather than using the system class
- Overrides:
- resolveClass in class ObjectInputStream
getClassLoader
public ClassLoader getClassLoader()
All Packages Class Hierarchy This Package Previous Next Index