Class Overview | Class Members | This Package | All Packages
This method is called after an object has been read but before it is returned from readObject. The default resolveObject method just returns the new object.
When a subclass is replacing objects it must insure that the substituted object is compatible with every field where the reference will be stored. Objects whose type is not a subclass of the type of the field or array element abort the serialization by raising an exception and the object is not be stored.
This method is called only once when each object is first encountered. All subsequent references to the object will be redirected to the new object.