Method and apparatus for extending operations of an application in a data processing system
AssigneeInternational Business Machines Corporation
InventorsDaniel Berg, Charles Bridgham, Derek Holt, Ritchard Schacher, Jason Sholl
Life of this patent
Estimating the term…
Abstract
A method, an apparatus, and computer instructions are provided for extending operations of an application in a data processing system. A primary operation is executed. All extended operations of the primary operation are cached and pre and post operation identifiers are identified. For each pre operation identifier, a pre operation instance is created and executed. For each post operation identifier, a post operation instance is created and executed.
Claims20
A method in a data processing system for extending operations of an application, the method comprising:
- responsive to running a primary operation, identifying all pre and post operations based on predefined metadata and environment context of the application;
- recursively running all pre operations in a predefined order;
- executing the primary operation;
- and
- recursively running all post operations in a predefined order.
A data processing system comprising:
- a bus;
- a memory connected to the bus, wherein a set of instructions are located in the memory;
- and
- a processor connected to the bus, wherein the processor executes the set of instructions to identify all pre and post operations based on predefined metadata and environment context of the application responsive to running a primary operation;
- recursively run all pre operations in a predefined order;
- execute the primary operation;
- and recursively run all post operations in a predefined order.
A computer program product in a computer readable medium for extending operations of an application, the computer program product comprising:
- first instructions for identifying all pre and post operations based on predefined metadata and environment context of the application responsive to running a primary operation;
- second instructions for recursively running all pre operations in a predefined order;
- third instructions for executing the primary operation;
- and
- fourth instructions for recursively running all post operations in a predefined order.
Dependencies are inferred from the claim text.