Method and system to handle java class versioning
First Claim
1. A method of handling a given object class in an object-oriented environment, comprising, in response to an invocation of the given object class during runtime:
- determining if a version associated with the object class differs from a predefined minimal version, wherein the predefined minimal version is specified at class import declaration, and wherein the predefined minimal version is specified by extending an import statement to define a range of versions and if so;
generating a new version of the object class from the version of the object class by invoking an interface method migrating an object class from one version to another in the same runtime environment, without serialization of objects; and
extending the new object class by updating pointer links to a previous version of the given object class.
1 Assignment
0 Petitions
Accused Products
Abstract
There is disclosed a method of handling a given object class in an object-oriented environment, wherein it comprises, in response to the invocation of the given object class during runtime, the steps of: determining if the version associated with the given object class differs from a predefined minimal version and if so: (a) generating a new version of the object class from the previous version of the object class by invoking an interface method migrating an object class from a version to another; (b) extending the new object class by updating pointer links to the previous version of the given object class. The previous version of the object class may be maintained accessible after the object migration.
6 Citations
17 Claims
-
1. A method of handling a given object class in an object-oriented environment, comprising, in response to an invocation of the given object class during runtime:
determining if a version associated with the object class differs from a predefined minimal version, wherein the predefined minimal version is specified at class import declaration, and wherein the predefined minimal version is specified by extending an import statement to define a range of versions and if so; generating a new version of the object class from the version of the object class by invoking an interface method migrating an object class from one version to another in the same runtime environment, without serialization of objects; and extending the new object class by updating pointer links to a previous version of the given object class. - View Dependent Claims (2, 3, 4, 5, 6)
-
7. A computer program encoded on a non-transitory computer readable storage medium for performing a method for handling a given object class in an object-oriented environment, in response to an invocation of the given object class during runtime, when executed by a computer device, the method comprising:
determining if a version associated with the object class differs from a predefined minimal version, wherein the predefined minimal version is specified at class import declaration, and wherein the predefined minimal version is specified by extending an import statement to define a range of versions and if so; generating a new version of the object class from the version of the object class by invoking an interface method migrating an object class from one version to another in the same runtime environment, without serialization of objects; and extending the new object class by updating pointer links to a previous version of the given object class. - View Dependent Claims (8, 9, 10, 11, 12)
-
13. A system, including a processor coupled to a memory, for handling a given object class in an object-oriented environment, in response to an invocation of the given object class during runtime, by performing a method, the method comprising:
-
determining if a version associated with the object class differs from a predefined minimal version, wherein the predefined minimal version is specified at class import declaration, and wherein the predefined minimal version is specified by extending an import statement to define a range of versions and if so; generating a new version of the object class from the version of the object class by invoking an interface method migrating an object class from one version to another in the same runtime environment, without serialization of objects; and extending the new object class by updating pointer links to a previous version of the given object class. - View Dependent Claims (14, 15, 16, 17)
-
Specification