Package org.jboss.marshalling.serial
Class SerialObjectInputStream
java.lang.Object
java.io.InputStream
java.io.ObjectInputStream
org.jboss.marshalling.MarshallerObjectInputStream
org.jboss.marshalling.serial.SerialObjectInputStream
- All Implemented Interfaces:
Closeable
,DataInput
,ObjectInput
,ObjectStreamConstants
,AutoCloseable
,ByteInput
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class java.io.ObjectInputStream
ObjectInputStream.GetField
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate PlainDescriptor
private SerializableClass
private Object
private final SerialUnmarshaller
private SerialObjectInputStream.State
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, SERIAL_FILTER_PERMISSION, 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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
registerValidation
(ObjectInputValidation obj, int prio) (package private) SerialObjectInputStream.State
(package private) PlainDescriptor
saveCurrentDescriptor
(PlainDescriptor currentDescriptor) (package private) SerializableClass
saveCurrentSerializableClass
(SerializableClass currentSerializableClass) (package private) Object
saveCurrentSubject
(Object currentSubject) (package private) SerialObjectInputStream.State
(package private) void
setCurrentDescriptor
(PlainDescriptor currentDescriptor) (package private) void
setCurrentSerializableClass
(SerializableClass currentSerializableClass) (package private) void
setCurrentSubject
(Object currentSubject) Methods inherited from class org.jboss.marshalling.MarshallerObjectInputStream
available, close, enableResolveObject, mark, markSupported, read, read, read, readBoolean, readByte, readChar, readClassDescriptor, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readObjectOverride, readShort, readStreamHeader, readUnshared, readUnsignedByte, readUnsignedShort, readUTF, reset, resolveClass, resolveObject, resolveProxyClass, skip, skipBytes
Methods inherited from class java.io.ObjectInputStream
getObjectInputFilter, readObject, setObjectInputFilter
Methods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Field Details
-
serialUnmarshaller
-
currentDescriptor
-
currentSerializableClass
-
currentSubject
-
state
-
-
Constructor Details
-
SerialObjectInputStream
SerialObjectInputStream(SerialUnmarshaller serialUnmarshaller) throws IOException, SecurityException - Throws:
IOException
SecurityException
-
-
Method Details
-
saveCurrentDescriptor
-
setCurrentDescriptor
-
saveCurrentSubject
-
setCurrentSubject
-
saveCurrentSerializableClass
-
setCurrentSerializableClass
-
saveState
SerialObjectInputStream.State saveState() -
restoreState
-
defaultReadObject
Description copied from class:MarshallerObjectInputStream
- Specified by:
defaultReadObject
in classMarshallerObjectInputStream
- Throws:
IOException
ClassNotFoundException
-
readFields
Description copied from class:MarshallerObjectInputStream
- Specified by:
readFields
in classMarshallerObjectInputStream
- Throws:
IOException
ClassNotFoundException
-
registerValidation
public void registerValidation(ObjectInputValidation obj, int prio) throws NotActiveException, InvalidObjectException Description copied from class:MarshallerObjectInputStream
- Specified by:
registerValidation
in classMarshallerObjectInputStream
- Throws:
NotActiveException
InvalidObjectException
-