com.sssw.rt.util
Class AgoObjectInputStream
java.lang.Object
|
+--java.io.InputStream
|
+--java.io.ObjectInputStream
|
+--com.sssw.rt.util.AgoObjectInputStream
- All Implemented Interfaces:
- DataInput, ObjectInput, ObjectStreamConstants
- Direct Known Subclasses:
- AgoObjectInputStreamWithLoader
- public class AgoObjectInputStream
- extends ObjectInputStream
This subclass of ObjectInputStream delegates loading of classes to
an existing ClassLoader. Due to way the SilverStream server
manages classloaders, you must use this class to deserialize objects on
the server, rather than java.io.ObjectInputStream. Note that you can use
the standard java.io.OutputStream to save serialized objects.
For an example of using this Class in an invoked business object, see
Triggered Objects Basics
in the Programmer's Guide.
Methods inherited from class java.io.ObjectInputStream |
available,
close,
defaultReadObject,
enableResolveObject,
read,
read,
readBoolean,
readByte,
readChar,
readDouble,
readFields,
readFloat,
readFully,
readFully,
readInt,
readLine,
readLong,
readObject,
readObjectOverride,
readShort,
readStreamHeader,
readUnsignedByte,
readUnsignedShort,
readUTF,
registerValidation,
resolveClass,
resolveObject,
skipBytes |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
AgoObjectInputStream
public AgoObjectInputStream(InputStream in)
throws IOException,
StreamCorruptedException
- Constructor.
AgoObjectInputStream
public AgoObjectInputStream(InputStream in,
ClassLoader loader)
throws IOException,
StreamCorruptedException
- Constructor.