mx4j.loading
Class ClassLoaderObjectInputStream
ObjectInputStream
mx4j.loading.ClassLoaderObjectInputStream
public class ClassLoaderObjectInputStream
extends ObjectInputStream
ObjectInputStream that can read serialized java Objects using a supplied classloader
to find the object's classes.
ClassLoaderObjectInputStream
public ClassLoaderObjectInputStream(InputStream stream,
ClassLoader classLoader)
throws IOException,
StreamCorruptedException
Creates a new ClassLoaderObjectInputStream
stream
- The decorated streamclassLoader
- The ClassLoader used to load classes
resolveClass
protected Class resolveClass(ObjectStreamClass osc)
throws IOException,
ClassNotFoundException
resolveProxyClass
protected Class resolveProxyClass(String[] interfaces)
throws IOException,
ClassNotFoundException
Copyright © 2001-2005 The MX4J Contributors. All Rights Reserved.