COM persistence model
AssigneeUnisys Corporation
InventorJames A. Sievert
Life of this patent
Estimating the term…
Loading patent…
AssigneeUnisys Corporation
InventorJames A. Sievert
Estimating the term…
Software and methods for extending preexisting objects to support persistence. One use of the present invention is to extend component object model (COM) objects to support persistence in a simple, predefined system. COM objects may be saved to persistence storage and loaded from persistence storage using user-provided save and load methods. When objects are constructed, the objects are added to a Persistent Object Registry. Objects preferably utilize smart pointers, rather than simple pointers, in order to enable restoration of the pointer values after a save and load cycle. The smart pointers include an object ID along with the address. The object ID, together with the information stored in the Persistent Object Registry, may be used to restore a pointer value after loading. Objects may be saved by streaming the objects out and loaded by streaming the objects back into memory from a file.
A method for creating a plurality of objects from data in persistent storage, the objects having object pointers, unique object identifiers, and object types as attributes, the method comprising the steps of:
A method for writing a plurality of objects in non-persistent storage to persistent storage, the objects having pointers to objects, unique object identifiers, and object types as attributes, the method comprising the steps of:
A method for storing and restoring user objects to persistent storage, the method comprising the steps of:
A computer readable medium encoded with an object for persistent storage, the object having a smart pointer, wherein the smart pointer includes an address attribute for containing an address of a subject object being pointed to by the smart pointer, and an object unique identifier attribute for containing a unique identifier for the subject object being pointed to, wherein the object smart pointer has an assignment operation which correlates the address of the subject object being pointed to and the unique identifier of the subject object being pointed to, and wherein the object includes a load method for using the smart pointer unique identifier attribute to determine and load a new smart pointer address attribute for the subject object being pointed to after the subject object is loaded from persistent storage.
A method for writing computer objects to persistent storage, the method including the steps of:
A method for managing persistent object lifecycles, the method comprising the steps of:
A method for writing a plurality of objects in non-persistent storage to persistent storage, the method comprising the steps of:
A method for reading a plurality of objects from persistent storage to non-persistent storage, the method comprising the steps of:
A method for storing and restoring user objects to persistent storage, the method comprising the steps of:
Dependencies are inferred from the claim text.