org.apache.yoko.rmi.impl
Class ObjectReader

java.lang.Object
  extended by java.io.InputStream
      extended by java.io.ObjectInputStream
          extended by org.apache.yoko.rmi.impl.ObjectReader
All Implemented Interfaces:
Closeable, DataInput, ObjectInput, ObjectStreamConstants
Direct Known Subclasses:
CopyState.Reader, CorbaObjectReader

public abstract class ObjectReader
extends ObjectInputStream


Nested Class Summary
 
Nested classes/interfaces inherited from class java.io.ObjectInputStream
ObjectInputStream.GetField
 
Field Summary
 
Fields inherited from interface java.io.ObjectStreamConstants
baseWireHandle, PROTOCOL_VERSION_1, PROTOCOL_VERSION_2, SC_BLOCK_DATA, SC_ENUM, 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_ENUM, TC_EXCEPTION, TC_LONGSTRING, TC_MAX, TC_NULL, TC_OBJECT, TC_PROXYCLASSDESC, TC_REFERENCE, TC_RESET, TC_STRING
 
Method Summary
 void close()
           
 void defaultReadObject()
           
protected  void enterRecursion()
           
protected  void exitRecursion()
           
abstract  Object readAbstractObject()
           
abstract  Object readAny()
           
abstract  Object readCorbaObject(Class type)
           
 ObjectInputStream.GetField readFields()
           
 void readFully(byte[] arr)
           
protected  Object readObjectOverride()
           
abstract  Remote readRemoteObject(Class type)
           
 int readUnsignedByte()
           
 int readUnsignedShort()
           
abstract  Object readValueObject()
           
abstract  Object readValueObject(Class clz)
           
 void registerValidation(ObjectInputValidation obj, int prio)
           
 
Methods inherited from class java.io.ObjectInputStream
available, enableResolveObject, read, read, readBoolean, readByte, readChar, readClassDescriptor, readDouble, readFloat, readFully, readInt, readLine, readLong, readObject, readShort, readStreamHeader, readUnshared, readUTF, resolveClass, resolveObject, resolveProxyClass, skipBytes
 
Methods inherited from class java.io.InputStream
mark, markSupported, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.io.ObjectInput
read, skip
 

Method Detail

defaultReadObject

public final void defaultReadObject()
                             throws IOException,
                                    ClassNotFoundException,
                                    NotActiveException
Overrides:
defaultReadObject in class ObjectInputStream
Throws:
IOException
ClassNotFoundException
NotActiveException

readObjectOverride

protected final Object readObjectOverride()
                                   throws ClassNotFoundException,
                                          IOException
Overrides:
readObjectOverride in class ObjectInputStream
Throws:
ClassNotFoundException
IOException

enterRecursion

protected void enterRecursion()

exitRecursion

protected void exitRecursion()
                      throws InvalidObjectException
Throws:
InvalidObjectException

registerValidation

public void registerValidation(ObjectInputValidation obj,
                               int prio)
                        throws NotActiveException,
                               InvalidObjectException
Overrides:
registerValidation in class ObjectInputStream
Throws:
NotActiveException
InvalidObjectException

readAbstractObject

public abstract Object readAbstractObject()
                                   throws IndirectionException
Throws:
IndirectionException

readAny

public abstract Object readAny()
                        throws IndirectionException
Throws:
IndirectionException

readValueObject

public abstract Object readValueObject()
                                throws IndirectionException
Throws:
IndirectionException

readValueObject

public abstract Object readValueObject(Class clz)
                                throws IndirectionException
Throws:
IndirectionException

readCorbaObject

public abstract Object readCorbaObject(Class type)

readRemoteObject

public abstract Remote readRemoteObject(Class type)

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Specified by:
close in interface ObjectInput
Overrides:
close in class ObjectInputStream
Throws:
IOException

readFields

public ObjectInputStream.GetField readFields()
                                      throws IOException
Overrides:
readFields in class ObjectInputStream
Throws:
IOException

readFully

public void readFully(byte[] arr)
               throws IOException
Specified by:
readFully in interface DataInput
Overrides:
readFully in class ObjectInputStream
Throws:
IOException

readUnsignedByte

public int readUnsignedByte()
                     throws IOException
Specified by:
readUnsignedByte in interface DataInput
Overrides:
readUnsignedByte in class ObjectInputStream
Throws:
IOException

readUnsignedShort

public int readUnsignedShort()
                      throws IOException
Specified by:
readUnsignedShort in interface DataInput
Overrides:
readUnsignedShort in class ObjectInputStream
Throws:
IOException


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.