org.apache.catalina.util
クラス CustomObjectInputStream

java.lang.Object
  |
  +--java.io.InputStream
        |
        +--java.io.ObjectInputStream
              |
              +--org.apache.catalina.util.CustomObjectInputStream
すべての実装インタフェース:
java.io.DataInput, java.io.ObjectInput, java.io.ObjectStreamConstants

public final class CustomObjectInputStream
extends java.io.ObjectInputStream

Custom subclass of ObjectInputStream that loads from the class loader for this web application. This allows classes defined only with the web application to be found correctly.


クラス java.io.ObjectInputStream から継承した内部クラス
java.io.ObjectInputStream.GetField
 
インタフェース java.io.ObjectStreamConstants から継承したフィールド
baseWireHandle, PROTOCOL_VERSION_1, PROTOCOL_VERSION_2, SC_BLOCK_DATA, SC_EXTERNALIZABLE, SC_SERIALIZABLE, SC_WRITE_METHOD, STREAM_MAGIC, STREAM_VERSION, SUBCLASS_IMPLEMENTATION_PERMISSION, SUBSTITUTION_PERMISSION, TC_ARRAY, TC_BASE, TC_BLOCKDATA, TC_BLOCKDATALONG, TC_CLASS, TC_CLASSDESC, TC_ENDBLOCKDATA, TC_EXCEPTION, TC_LONGSTRING, TC_MAX, TC_NULL, TC_OBJECT, TC_PROXYCLASSDESC, TC_REFERENCE, TC_RESET, TC_STRING
 
コンストラクタの概要
CustomObjectInputStream(java.io.InputStream stream, java.lang.ClassLoader classLoader)
          Construct a new instance of CustomObjectInputStream
 
メソッドの概要
 java.lang.Class resolveClass(java.io.ObjectStreamClass classDesc)
          Load the local class equivalent of the specified stream class description, by using the class loader assigned to this Context.
 
クラス 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, readUnsignedByte, readUnsignedShort, readUTF, registerValidation, resolveObject, resolveProxyClass, skipBytes
 
クラス java.io.InputStream から継承したメソッド
mark, markSupported, read, reset, skip
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
インタフェース java.io.ObjectInput から継承したメソッド
read, skip
 

コンストラクタの詳細

CustomObjectInputStream

public CustomObjectInputStream(java.io.InputStream stream,
                               java.lang.ClassLoader classLoader)
                        throws java.io.IOException
Construct a new instance of CustomObjectInputStream
メソッドの詳細

resolveClass

public java.lang.Class resolveClass(java.io.ObjectStreamClass classDesc)
                             throws java.lang.ClassNotFoundException,
                                    java.io.IOException
Load the local class equivalent of the specified stream class description, by using the class loader assigned to this Context.
オーバーライド:
クラス java.io.ObjectInputStream 内の resolveClass


Copyright ? 2000-2001 Apache Software Foundation. All Rights Reserved.