java.lang.Object | |
↳ | com.pnfsoftware.jeb.util.serialization.AbstractInternalDeserializer |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
protected boolean | cancelled | ||||||||||
protected List<ClassLoader> | classloaders | ||||||||||
protected Map<Class<?>, Object> | constructorMap | ||||||||||
protected static Map<Class<?>, AbstractInternalDeserializer.CustomMethods> | customMethods | ||||||||||
protected ITypeIdProvider | customTypeIdProvider | ||||||||||
protected List<IPreObject> | deferredObjects | ||||||||||
protected int | expectedObjectCount | ||||||||||
protected LEDataInputStream | in | ||||||||||
protected Object | mootObject | ||||||||||
protected ITypeIdProvider | nativeTypeIdProvider | ||||||||||
protected Set<Integer> | objIdPostgraphDone | ||||||||||
protected MultiMap<Class<?>, IDeserializationEventHandler> | objectCreatedHookMap | ||||||||||
protected ObjenesisStd | objenesis | ||||||||||
protected Map<Integer, Object> | objmap | ||||||||||
protected List<IProgressCallback> | progressCallbacks |
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
AbstractInternalDeserializer(ITypeIdProvider customTypeIdProvider, List<ClassLoader> classloaders, LEDataInputStream in) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void | addObjectCreatedHook(Class<?> c, IDeserializationEventHandler handler) | ||||||||||
void | addProgressCallback(IProgressCallback callback) | ||||||||||
void | close() | ||||||||||
Object | deserializeInternal() | ||||||||||
int | getObjectCount() | ||||||||||
Collection<Object> | getObjects() | ||||||||||
InputStream | getStream() | ||||||||||
Object | read() | ||||||||||
Object | read(Object object, Class<?> c) | ||||||||||
void | removeObjectCreatedHook(Class<?> c, IDeserializationEventHandler handler) | ||||||||||
void | removeProgressCallback(IProgressCallback callback) | ||||||||||
abstract void | restoreFields(Object o, Class<?> targetClass) | ||||||||||
void | setExpectedObjectCount(int count) |
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
AbstractInternalDeserializer.CustomMethods | getCustomMethods(Object o, Class<?> targetClass) | ||||||||||
Class<?> | loadClass(String typeName) | ||||||||||
void | logObjectMap() | ||||||||||
void | notifyDeserializationEvent(int type, Class<?> c, Object o) | ||||||||||
void | notifyProgressCallbacks() | ||||||||||
abstract Object | readInternal(Object object, Class<?> c) | ||||||||||
void | registerObject(boolean isLeafObject, int objectId, Object o) | ||||||||||
void | resolveDeferredObjects() | ||||||||||
void | restoreFieldValue(Object o, Class<?> targetClass, int fieldId, Object fieldObject) |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
IOException |
---|
IOException |
---|
IOException |
---|
IOException |
---|
IOException |
---|
SerializationException |
---|
ClassNotFoundException |
---|
type | event type: 1= object created (post creation) |
---|
IOException |
---|
SerializationException |
---|