Reversible atomic steps to undo application startup
First Claim
Patent Images
1. A method for creating application package startup code configured to startup an application package, comprising:
- dividing steps associated with a procedure for starting said application package into atomic steps;
for each of a first plurality of said atomic steps,creating a start fragment, said start fragment being configured to execute substeps that further said startup of said application package;
creating a stop fragment, said stop fragment being configured to execute substeps that undo its corresponding start fragment;
executing, on a computer, said start fragment; and
creating code for executing, on said computer, a number of stop fragments associated with said atomic steps to cause all traces of said application package startup code being attempted to be removed if a start fragment associated with said atomic steps encounters an error.
2 Assignments
0 Petitions
Accused Products
Abstract
An application package startup procedure is divided into a plurality of atomic steps. For each of the plurality of atomic steps, a start fragment is created. The start fragment is configured to execute substeps that further the startup procedure. A stop fragment is created. The stop fragment is configured to execute substeps that undo its corresponding start fragment.
7 Citations
16 Claims
-
1. A method for creating application package startup code configured to startup an application package, comprising:
-
dividing steps associated with a procedure for starting said application package into atomic steps; for each of a first plurality of said atomic steps, creating a start fragment, said start fragment being configured to execute substeps that further said startup of said application package; creating a stop fragment, said stop fragment being configured to execute substeps that undo its corresponding start fragment; executing, on a computer, said start fragment; and creating code for executing, on said computer, a number of stop fragments associated with said atomic steps to cause all traces of said application package startup code being attempted to be removed if a start fragment associated with said atomic steps encounters an error. - View Dependent Claims (2, 3, 4)
-
-
5. A method for starting an application package utilizing application package startup code, comprising:
-
executing, on a computer, start fragments associated with a plurality of atomic steps in a step-wise manner until one of said start fragments encounters an error, wherein said application package startup code is divided into said plurality of atomic steps, each of said plurality of atomic steps including a start fragment and a stop fragment configured to undo its corresponding start fragment; and if said one of said start fragments encounters said error, a) executing, on said computer, a stop fragment corresponding to said one of said start fragments that encountered said error, b) executing, on said computer, previous stop fragments in a step-wise manner; and (c) removing, after said stop fragment corresponding to said one of said start fragments that encountered said error and said previous stop fragments have been executed, all traces of said application package startup code being attempted. - View Dependent Claims (6, 7, 8, 9, 10)
-
-
11. An article of manufacture comprising a program storage medium having computer readable code stored thereon, comprising:
-
computer readable code for executing start fragments associated with a plurality of atomic steps in a step-wise manner until one of said start fragments encounters an error, wherein said computer readable code being configured to start an application package utilizing application package startup code, said application package startup code is divided into said plurality of atomic steps, each of said plurality of atomic steps including a start fragment and a stop fragment configured to undo its corresponding start fragment; computer readable code for executing, if said one of said start fragments encounters said error, a stop fragment corresponding to said one of said start fragments that encountered said error; computer readable code for executing thereafter, if said one of said start fragments encounters said error, previous stop fragments in a step-wise manner; and computer readable code for removing, after said stop fragment corresponding to said one of said start fragments that encountered said error and said previous stop fragments have been executed, all traces of said application package startup code being attempted. - View Dependent Claims (12, 13, 14, 15, 16)
-
Specification