@NotStorableClass public class ObjectInputLazyGeneric extends AbstractObjectInputLazy
FAILED_CREATE_OBJECT
classInfoFactory, helperBinaryConversion, helperReflect, logger, objectIOManager, proxyManager2
Constructor and Description |
---|
ObjectInputLazyGeneric(IObjectIOManagerForObjectIO objectIOManager,
ClassInfoFactory classInfoFactory,
HelperBinaryConversion helperBinaryConversion,
IProxyManagerForObjectIO proxyManager2) |
Modifier and Type | Method and Description |
---|---|
protected FieldInfo[] |
getFieldToSetInfoImpl(ClassInfo classInfo) |
protected void |
initializeObject(ObjectAndPersistInfo object,
byte[] binary,
int offset)
initialize object after creation
|
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 object,
byte[] binary,
int offset) |
void |
unsetObjectState(ObjectAndPersistInfo objectAndItsClassInfo) |
createObjectImpl, isImmediate, isLazy
checkSignatureImpl, setObjectStateFromFieldValueList, setObjectStateFromFieldValueListExternalizable, setObjectStateFromFieldValueListSerializable
addSonReadObject, createObject, getField, getReferencedList, readObjectStoredStateGeneric, setObjectAllDeclaredFieldsValueToNull, setObjectState, setObjectStateExternalizable, setObjectStateExternalizable, setObjectStateFromFieldValueListGeneric, setObjectStateGeneric, setObjectStateGenericNoLengthCheck, setObjectStateSerializable, setObjectStateSerializable
checkSignature, checkStaticFieldSignature, getObjectIOManager
public ObjectInputLazyGeneric(IObjectIOManagerForObjectIO objectIOManager, ClassInfoFactory classInfoFactory, HelperBinaryConversion helperBinaryConversion, IProxyManagerForObjectIO proxyManager2)
protected void initializeObject(ObjectAndPersistInfo object, byte[] binary, int offset) throws ObjectIOException, ObjectIODataRecordNotFoundException, ObjectIOInvalidClassException, ObjectIOClassNotFoundException, ObjectIODataCorruptedException, ObjectIONotSerializableException
AbstractObjectInputGeneric
initializeObject
in class AbstractObjectInputGeneric
object
- object to initializebinary
- body dataoffset
- begin of body data, it is the data record header sizeObjectIOException
- initialization errorObjectIODataRecordNotFoundException
- data record for object not foundObjectIOInvalidClassException
ObjectIOClassNotFoundException
ObjectIODataCorruptedException
ObjectIONotSerializableException
protected 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 object, byte[] binary, int offset) throws ObjectIOException, ObjectIODataRecordNotFoundException, ObjectIOInvalidClassException, ObjectIOClassNotFoundException, ObjectIODataCorruptedException, ObjectIONotSerializableException
protected void setObjectStateFromFieldValueListImpl(ObjectAndPersistInfo objectAndPersistInfo, ValuedFieldList valuedFieldList) throws ObjectIOException, ObjectIOInvalidClassException
AbstractObjectInputGeneric
setObjectStateFromFieldValueListImpl
in class AbstractObjectInputGeneric
ObjectIOException
ObjectIOInvalidClassException
protected FieldInfo[] getFieldToSetInfoImpl(ClassInfo classInfo) throws ObjectIOException
getFieldToSetInfoImpl
in class AbstractObjectInputGeneric
ObjectIOException
public void unsetObjectState(ObjectAndPersistInfo objectAndItsClassInfo) throws ObjectIOException, ObjectIOInvalidClassException
Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.