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 ObjectInputStream
ObjectInputStream.GetField -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate PlainDescriptorprivate SerializableClassprivate Objectprivate final SerialUnmarshallerprivate SerialObjectInputStream.StateFields inherited from interface 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 TypeMethodDescriptionvoidvoidregisterValidation(ObjectInputValidation obj, int prio) (package private) SerialObjectInputStream.State(package private) PlainDescriptorsaveCurrentDescriptor(PlainDescriptor currentDescriptor) (package private) SerializableClasssaveCurrentSerializableClass(SerializableClass currentSerializableClass) (package private) ObjectsaveCurrentSubject(Object currentSubject) (package private) SerialObjectInputStream.State(package private) voidsetCurrentDescriptor(PlainDescriptor currentDescriptor) (package private) voidsetCurrentSerializableClass(SerializableClass currentSerializableClass) (package private) voidsetCurrentSubject(Object currentSubject) Methods inherited from class 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, skipBytesMethods inherited from class ObjectInputStream
getObjectInputFilter, readObject, setObjectInputFilterMethods inherited from class InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Field Details
-
serialUnmarshaller
-
currentDescriptor
-
currentSerializableClass
-
currentSubject
-
state
-
-
Constructor Details
-
SerialObjectInputStream
SerialObjectInputStream(SerialUnmarshaller serialUnmarshaller) throws IOException, SecurityException - Throws:
IOExceptionSecurityException
-
-
Method Details
-
saveCurrentDescriptor
-
setCurrentDescriptor
-
saveCurrentSubject
-
setCurrentSubject
-
saveCurrentSerializableClass
-
setCurrentSerializableClass
-
saveState
SerialObjectInputStream.State saveState() -
restoreState
-
defaultReadObject
Description copied from class:MarshallerObjectInputStream- Specified by:
defaultReadObjectin classMarshallerObjectInputStream- Throws:
IOExceptionClassNotFoundException
-
readFields
Description copied from class:MarshallerObjectInputStream- Specified by:
readFieldsin classMarshallerObjectInputStream- Throws:
IOExceptionClassNotFoundException
-
registerValidation
public void registerValidation(ObjectInputValidation obj, int prio) throws NotActiveException, InvalidObjectException Description copied from class:MarshallerObjectInputStream- Specified by:
registerValidationin classMarshallerObjectInputStream- Throws:
NotActiveExceptionInvalidObjectException
-