All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class sun.beanbox.ObjectInputStreamLoader

java.lang.Object
   |
   +----java.io.InputStream
           |
           +----java.io.ObjectInputStream
                   |
                   +----sun.beanbox.ObjectInputStreamLoader

public class ObjectInputStreamLoader
extends ObjectInputStream
This subclass of ObjectInputStream delegates loading of classes to an existing ClassLoader.


Constructor Index

 o ObjectInputStreamLoader(InputStream, ClassLoader)
Loader must be non-null;

Method Index

 o getClassLoader()
 o resolveClass(ObjectStreamClass)
Use the given ClassLoader rather than using the system class

Constructors

 o ObjectInputStreamLoader
 public ObjectInputStreamLoader(InputStream in,
                                ClassLoader loader) throws IOException, StreamCorruptedException
Loader must be non-null;

Methods

 o resolveClass
 protected Class resolveClass(ObjectStreamClass classDesc) throws IOException, ClassNotFoundException
Use the given ClassLoader rather than using the system class

Overrides:
resolveClass in class ObjectInputStream
 o getClassLoader
 public ClassLoader getClassLoader()

All Packages  Class Hierarchy  This Package  Previous  Next  Index