@NotStorableClass public abstract class AbstractObjectInput extends Object implements IObjectInput
| Modifier and Type | Field and Description |
|---|---|
protected ClassInfoFactory |
classInfoFactory |
protected HelperBinaryConversion |
helperBinaryConversion |
protected static HelperReflect |
helperReflect |
protected JoafipLogger |
logger |
protected IObjectIOManagerForObjectIO |
objectIOManager |
protected IProxyManagerForObjectIO |
proxyManager2 |
| Constructor and Description |
|---|
AbstractObjectInput(IObjectIOManagerForObjectIO objectIOManager,
ClassInfoFactory classInfoFactory,
IProxyManagerForObjectIO proxyManager2,
HelperBinaryConversion helperBinaryConversion) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
checkSignature(byte[] binary,
int signatureOffset,
ClassInfo classInfo)
read signature and check it according to signature of object class
|
protected int |
checkStaticFieldSignature(byte[] binary,
int signatureOffset,
ClassInfo classInfo)
read signature and check it according to signature of object class
|
IObjectIOManagerForObjectIO |
getObjectIOManager() |
DataRecordIdentifier[] |
getReferencedList(byte[] binary,
int beginOffset)
get the referenced object's data identifier from binary data containing
object state
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateObject, isImmediate, isLazy, setObjectState, unsetObjectStateprotected final JoafipLogger logger
protected final ClassInfoFactory classInfoFactory
protected final HelperBinaryConversion helperBinaryConversion
protected static final HelperReflect helperReflect
protected final IObjectIOManagerForObjectIO objectIOManager
protected final IProxyManagerForObjectIO proxyManager2
public AbstractObjectInput(IObjectIOManagerForObjectIO objectIOManager, ClassInfoFactory classInfoFactory, IProxyManagerForObjectIO proxyManager2, HelperBinaryConversion helperBinaryConversion)
public IObjectIOManagerForObjectIO getObjectIOManager()
public DataRecordIdentifier[] getReferencedList(byte[] binary, int beginOffset) throws ObjectIOException
IObjectInputgetReferencedList in interface IObjectInputbinary - binary data of data record associated to objectbeginOffset - start of field/element data in binaryObjectIOExceptionprotected int checkSignature(byte[] binary,
int signatureOffset,
ClassInfo classInfo)
throws ObjectIOInvalidClassException,
ObjectIOException
binary - binary data to read fromsignatureOffset - signature offset in binary dataclassInfo - class information of object used for signatureObjectIOInvalidClassExceptionObjectIOExceptionprotected int checkStaticFieldSignature(byte[] binary,
int signatureOffset,
ClassInfo classInfo)
throws ObjectIOInvalidClassException,
ObjectIOException
binary - binary data to read fromsignatureOffset - signature offset in binary dataclassInfo - class information of object used for signaturestaticPersistence - true if static persistenceObjectIOInvalidClassExceptionObjectIOExceptionCopyright © 2007-2012 Luc Peuvrier. All Rights Reserved.