Model augmentation in a model-driven application development environment
First Claim
Patent Images
1. A method, comprising:
- configuring, within a memory, a principal model to facilitate automatic generation of at least one resource for use by a computer-executable application;
identifying at least one model item required for a task that is absent from the principal model;
instantiating the absent model item in a decoration model within the memory that operates with the principal model to augment operational functionality of the principal model; and
further comprising one of;
in response to an access by an application directed to an instance of an item of the principal model, if the decoration model has a corresponding item, the application accesses the corresponding item in the decoration model, where calls to methods defined in the corresponding item in the decoration model are processed by the corresponding item of the decoration model, while calls to methods defined in the item of the principal model are processed by the item of the principal model; and
in response to changes to the decoration model, the decoration model prior to being changed continues operating with the principal model and the changed decoration model is hot-deployed along with the operating decoration model, where the changed decoration model is made available to a new thread using a thread-local variable of the new thread, and where any older request that is still running using the operating decoration model is not disrupted and returns results according to the operating decoration model in a thread-local variable of a thread that issued the older request.
1 Assignment
0 Petitions
Accused Products
Abstract
A principal model is configured within a memory to facilitate automatic generation of at least one resource for use by a computer-executable application. At least one model item required for a task that is absent from the principal model is identified. The absent model item is instantiated in a decoration model that operates with the principal model to augment operational functionality of the principal model.
-
Citations
18 Claims
-
1. A method, comprising:
-
configuring, within a memory, a principal model to facilitate automatic generation of at least one resource for use by a computer-executable application; identifying at least one model item required for a task that is absent from the principal model; instantiating the absent model item in a decoration model within the memory that operates with the principal model to augment operational functionality of the principal model; and further comprising one of; in response to an access by an application directed to an instance of an item of the principal model, if the decoration model has a corresponding item, the application accesses the corresponding item in the decoration model, where calls to methods defined in the corresponding item in the decoration model are processed by the corresponding item of the decoration model, while calls to methods defined in the item of the principal model are processed by the item of the principal model; and in response to changes to the decoration model, the decoration model prior to being changed continues operating with the principal model and the changed decoration model is hot-deployed along with the operating decoration model, where the changed decoration model is made available to a new thread using a thread-local variable of the new thread, and where any older request that is still running using the operating decoration model is not disrupted and returns results according to the operating decoration model in a thread-local variable of a thread that issued the older request. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A system, comprising:
-
a memory; and a processor programmed to; configure, within the memory, a principal model to facilitate automatic generation of at least one resource for use by a computer-executable application; identify at least one model item required for a task that is absent from the principal model; instantiate the absent model item in a decoration model within the memory that operates with the principal model to augment operational functionality of the principal model; and where the processor is further programmed to cause one of; in response to an access by an application directed to an instance of an item of the principal model, if the decoration model has a corresponding item, the application accesses the corresponding item in the decoration model, where calls to methods defined in the corresponding item in the decoration model are processed by the corresponding item of the decoration model, while calls to methods defined in the item of the principal model are processed by the item of the principal model; and in response to changes to the decoration model, the decoration model prior to being changed continues operating with the principal model and the changed decoration model is hot-deployed along with the operating decoration model, where the changed decoration model is made available to a new thread using a thread-local variable of the new thread, and where any older request that is still running using the operating decoration model is not disrupted and returns results according to the operating decoration model in a thread-local variable of a thread that issued the older request. - View Dependent Claims (10, 11, 12)
-
-
8. The system of 7, where in being programmed to identify the at least one model item required for the task that is absent from the principal model, the processor is programmed to:
-
identify at least one class in the principal model that can be subdivided into one or more subclasses; identify in the at least one class an attribute that distinguishes identities of each of the subclasses; and declare a lookup table mapping values of the attribute to the identities of the subclasses. - View Dependent Claims (9)
-
-
13. A computer program product, comprising:
a non-transitory computer readable storage medium having computer readable program code embodied therewith, where the computer readable program code when executed on a computer causes the computer to; configure, within a memory, a principal model to facilitate automatic generation of at least one resource for use by a computer-executable application; identify at least one model item required for a task that is absent from the principal model; instantiate the absent model item in a decoration model within the memory that operates with the principal model to augment operational functionality of the principal model; and where the computer readable program code when executed on the computer further causes the computer to one of; in response to an access by an application directed to an instance of an item of the principal model, if the decoration model has a corresponding item, the application accesses the corresponding item in the decoration model, where calls to methods defined in the corresponding item in the decoration model are processed by the corresponding item of the decoration model, while calls to methods defined in the item of the principal model are processed by the item of the principal model; and in response to changes to the decoration model, the decoration model prior to being changed continues operating with the principal model and the changed decoration model is hot-deployed along with the operating decoration model, where the changed decoration model is made available to a new thread using a thread-local variable of the new thread, and where any older request that is still running using the operating decoration model is not disrupted and returns results according to the operating decoration model in a thread-local variable of a thread that issued the older request. - View Dependent Claims (14, 15, 16, 17, 18)
Specification