Home » openjdk-7 » javax » management » loading » [javadoc | source]
javax.management.loading
class: MLetObjectInputStream [javadoc | source]
java.lang.Object
   java.io.InputStream
      java.io.ObjectInputStream
         javax.management.loading.MLetObjectInputStream

All Implemented Interfaces:
    ObjectInput, ObjectStreamConstants, Closeable

This subclass of ObjectInputStream delegates loading of classes to an existing MLetClassLoader.
Constructor:
 public MLetObjectInputStream(InputStream in,
    MLet loader) throws IOException, StreamCorruptedException 
    Loader must be non-null;
Method from javax.management.loading.MLetObjectInputStream Summary:
getClassLoader,   resolveClass
Methods from java.io.ObjectInputStream:
available,   close,   defaultReadObject,   enableResolveObject,   read,   read,   readBoolean,   readByte,   readChar,   readClassDescriptor,   readDouble,   readFields,   readFloat,   readFully,   readFully,   readInt,   readLine,   readLong,   readObject,   readObjectOverride,   readShort,   readStreamHeader,   readTypeString,   readUTF,   readUnshared,   readUnsignedByte,   readUnsignedShort,   registerValidation,   resolveClass,   resolveObject,   resolveProxyClass,   skipBytes
Methods from java.io.InputStream:
available,   close,   mark,   markSupported,   read,   read,   read,   reset,   skip
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.management.loading.MLetObjectInputStream Detail:
 public ClassLoader getClassLoader() 
    Returns the ClassLoader being used
 protected Class<?> resolveClass(ObjectStreamClass objectstreamclass) throws IOException, ClassNotFoundException 
    Use the given ClassLoader rather than using the system class