java.lang.Object |
↳ |
com.pnfsoftware.jeb.util.serialization.AbstractInternalDeserializer |
Class Overview
Base class for deserializers. Client code should not extend.
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Fields
protected
boolean
cancelled
protected
List<ClassLoader>
classloaders
protected
Map<Class<?>, Object>
constructorMap
protected
static
Map<Class<?>, AbstractInternalDeserializer.CustomMethods>
customMethods
protected
List<IPreObject>
deferredObjects
protected
int
expectedObjectCount
protected
Object
mootObject
protected
Set<Integer>
objIdPostgraphDone
protected
ObjenesisStd
objenesis
protected
Map<Integer, Object>
objmap
Protected Constructors
Public Methods
public
Object
deserializeInternal
()
public
int
getObjectCount
()
public
Collection<Object>
getObjects
()
public
InputStream
getStream
()
public
Object
read
(Object object, Class<?> c)
public
abstract
void
restoreFields
(Object o, Class<?> targetClass)
public
void
setExpectedObjectCount
(int count)
Protected Methods
protected
AbstractInternalDeserializer.CustomMethods
getCustomMethods
(Object o, Class<?> targetClass)
protected
Class<?>
loadClass
(String typeName)
protected
void
logObjectMap
()
protected
void
notifyDeserializationEvent
(int type, Class<?> c, Object o)
Parameters
type |
event type: 1= object created (post creation) |
protected
void
notifyProgressCallbacks
()
protected
abstract
Object
readInternal
(Object object, Class<?> c)
protected
void
registerObject
(boolean isLeafObject, int objectId, Object o)
protected
void
resolveDeferredObjects
()
protected
void
restoreFieldValue
(Object o, Class<?> targetClass, int fieldId, Object fieldObject)