Apparatus and method for swapping identities of two objects to reference the object information of the other
First Claim
Patent Images
1. An apparatus comprising:
- at least one processor;
a memory coupled to the at least one processor;
a first object residing in the memory, the first object having a first unique identity that references first object information;
an object identity swapper residing in the memory and executed by the at least one processor, the object identity swapper creating a second object in the memory, the second object having a second unique identity that references second object information, the object identity swapper swapping the unique identities of the first and second objects so the first unique identity references the second object information, and so the second unique identity references the first object information.
1 Assignment
0 Petitions
Accused Products
Abstract
An object identity swapper dynamically updates the configuration of an object by taking a first object, instantiating a new second object, swapping the identities of the first and second objects, and reading and converting the state data of the old object (now the second object) into the new object (now the first object). The result is that the first object identity doesn'"'"'t change, but its configuration is updated without passivating the object.
96 Citations
20 Claims
-
1. An apparatus comprising:
-
at least one processor; a memory coupled to the at least one processor; a first object residing in the memory, the first object having a first unique identity that references first object information; an object identity swapper residing in the memory and executed by the at least one processor, the object identity swapper creating a second object in the memory, the second object having a second unique identity that references second object information, the object identity swapper swapping the unique identities of the first and second objects so the first unique identity references the second object information, and so the second unique identity references the first object information. - View Dependent Claims (2, 3, 4)
-
-
5. A computer apparatus for updating objects in an object oriented system, the apparatus comprising:
-
a first object residing in a memory of the computer apparatus, the first object having a first unique identity that references first object information; means for creating a second object having a desired object configuration in the memory, the second object having a second unique identity that references second object information; and means for swapping the unique identities of the first and second objects so the first unique identity references the second object information and so the second unique identity references the first object information.
-
-
6. A computer-implemented method for changing a first object in an object oriented system to a desired object configuration, the first object having a first unique identity that references first object information, the method comprising the steps of:
-
creating a second object having the desired object configuration, the second object having a second unique identity that references second object information; and swapping the unique identities of the first and second objects so the first unique identity references the second object information and so the second unique identity references the first object information. - View Dependent Claims (7, 8, 9, 10, 11, 12)
-
-
13. A computer-implemented method for changing a first object in an object oriented system to a desired object configuration, the first object having a first unique identity, the first object including a header having a method table pointer and a data pointer, the method comprising the steps of:
-
instantiating a second object under a class that defines the desired object configuration, the second object having a second unique identity, the second object including a header having a method table pointer and a data pointer; swapping the method table pointers of the first and second objects without swapping the first and second unique identities; swapping the data pointers of the first and second objects without swapping the first and second unique identities; and reading and converting state data of the second object into the first object. - View Dependent Claims (14)
-
-
15. A computer-readable program product for updating objects in an object oriented system, the program product comprising:
-
an object identity swapper that takes a first object having a first unique identity that references first object information, creates a second object, the second object having a second unique identity that references second object information, the object identity swapper swapping the unique identities of the first and second objects so the first unique identity references the second object information, and so the second unique identity references the first object information; and signal bearing media bearing the object identity swapper. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification