@NotStorableClass public class ObjectInputImmediateExternalizable extends AbstractObjectInputImmediate
FAILED_CREATE_OBJECT
classInfoFactory, helperBinaryConversion, helperReflect, logger, objectIOManager, proxyManager2
Constructor and Description |
---|
ObjectInputImmediateExternalizable(IObjectIOManagerForObjectIO objectIOManager,
ClassInfoFactory classInfoFactory,
IProxyManagerForObjectIO proxyManager2,
HelperBinaryConversion helperBinaryConversion) |
Modifier and Type | Method and Description |
---|---|
protected FieldInfo[] |
getFieldToSetInfoImpl(ClassInfo classInfo) |
protected void |
initializeObject(ObjectAndPersistInfo objectAndPersistInfo,
byte[] binary,
int offset)
for direct loading ( no lazy mode ), object initialization is done by
object state setting
|
protected List<ObjectAndPersistInfo> |
readObjectStoredState(ObjectAndPersistInfo objectAndPersistInfo,
byte[] binary,
int offset) |
protected void |
setObjectStateFromFieldValueListImpl(ObjectAndPersistInfo objectAndPersistInfo,
ValuedFieldList valuedFieldList)
do not set original value of object in objectAndPersistInfo
|
protected void |
setObjectStateImpl(ObjectAndPersistInfo objectAndPersistInfo,
byte[] binary,
int offset) |
createObjectImpl, isImmediate, isLazy, unsetObjectState
checkSignatureImpl, setObjectStateFromFieldValueList, setObjectStateFromFieldValueListExternalizable, setObjectStateFromFieldValueListSerializable
addSonReadObject, createObject, getField, getReferencedList, readObjectStoredStateGeneric, setObjectAllDeclaredFieldsValueToNull, setObjectState, setObjectStateExternalizable, setObjectStateExternalizable, setObjectStateFromFieldValueListGeneric, setObjectStateGeneric, setObjectStateGenericNoLengthCheck, setObjectStateSerializable, setObjectStateSerializable
checkSignature, checkStaticFieldSignature, getObjectIOManager
public ObjectInputImmediateExternalizable(IObjectIOManagerForObjectIO objectIOManager, ClassInfoFactory classInfoFactory, IProxyManagerForObjectIO proxyManager2, HelperBinaryConversion helperBinaryConversion)
protected void initializeObject(ObjectAndPersistInfo objectAndPersistInfo, byte[] binary, int offset) throws ObjectIOException, ObjectIODataRecordNotFoundException, ObjectIOInvalidClassException, ObjectIOClassNotFoundException, ObjectIODataCorruptedException, ObjectIONotSerializableException
initializeObject
in class AbstractObjectInputGeneric
objectAndPersistInfo
- binary
- offset
- checkSignature
- ObjectIODataRecordNotFoundException
ObjectIOInvalidClassException
ObjectIODataCorruptedException
ObjectIOClassNotFoundException
ObjectIONotSerializableException
FileCorruptedException
ObjectIOException
- initialization errorprotected List<ObjectAndPersistInfo> readObjectStoredState(ObjectAndPersistInfo objectAndPersistInfo, byte[] binary, int offset) throws ObjectIOException, ObjectIODataRecordNotFoundException, ObjectIOClassNotFoundException, ObjectIOInvalidClassException, ObjectIODataCorruptedException, ObjectIONotSerializableException
readObjectStoredState
in class AbstractObjectInputGeneric
objectAndPersistInfo
- where store read statebinary
- body dataoffset
- begin of body data, it is the data record header sizeObjectIOException
ObjectIODataRecordNotFoundException
ObjectIOClassNotFoundException
ObjectIOInvalidClassException
ObjectIODataCorruptedException
ObjectIONotSerializableException
protected void setObjectStateImpl(ObjectAndPersistInfo objectAndPersistInfo, byte[] binary, int offset) throws ObjectIOException, ObjectIODataRecordNotFoundException, ObjectIOInvalidClassException, ObjectIOClassNotFoundException, ObjectIODataCorruptedException, ObjectIONotSerializableException
protected void setObjectStateFromFieldValueListImpl(ObjectAndPersistInfo objectAndPersistInfo, ValuedFieldList valuedFieldList) throws ObjectIOException, ObjectIOInvalidClassException, ObjectIODataRecordNotFoundException, ObjectIOClassNotFoundException, ObjectIODataCorruptedException, ObjectIONotSerializableException
AbstractObjectInputGeneric
protected FieldInfo[] getFieldToSetInfoImpl(ClassInfo classInfo) throws ObjectIOException
getFieldToSetInfoImpl
in class AbstractObjectInputGeneric
ObjectIOException
Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.