Claims
- 1. An apparatus for selectively generating runtime objects in an application development environment, comprising:
a processor; and a memory, coupled to the processor, storing instructions adapted to be executed by the processor to
receive a request for a runtime object from a set of existing runtime objects, determine whether the requested runtime object was generated according to current generator state, and regenerate the requested runtime object if the requested runtime object was not generated according to the current generator state.
- 2. The apparatus of claim 1, wherein the instructions are further adapted to store the current generator state with the regenerated runtime object.
- 3. The apparatus of claim 1, wherein the instructions are adapted to determine whether the requested runtime object was generated according to the current generator state by retrieving a generator state associated with the requested runtime object, the retrieved generator state representing generation settings associated with the runtime object's last generation, and comparing the retrieved generator state with the current generator state.
- 4. The apparatus of claim 3, wherein the retrieved generator state is represented by a hash code.
- 5. The apparatus of claim 4, wherein the hash code is based on application of a hash function to a textual representation of generator settings.
- 6. A computer-implemented method for selectively generating runtime objects in an application development environment, comprising:
receiving a request for a runtime object from a set of existing runtime objects; determining whether the requested runtime object was generated according to current generator state; and regenerating the requested runtime object if the requested runtime object was not generated according to the current generator state.
- 7. The method of claim 6, further comprising storing the current generator state with the regenerated runtime object.
- 8. The method of claim 6, wherein the determine step comprises
retrieving a generator state associated with the requested runtime object, the retrieved generator state representing generation settings associated with the runtime object's last generation; comparing the retrieved generator state with the current generator state.
- 9. The method of claim 8, wherein the retrieved generator state is represented by a hash code.
- 10. The method of claim 9, wherein the hash code is based on application of a hash function to a textual representation of generator settings.
CROSS-REFERENCE TO RELATED APPLICATIONS
[0001] This application is related to the subject matter of the following U.S. patent applications filed on even date: attorney docket no. 11884-400801 entitled “System and Method for Incremental Object Generation,” attorney docket no. 11884-403501 entitled “System and Method for Object Navigation Grammar Completion,” attorney docket no. 11884-403601 entitled “System and Method for Rule Based Object Navigation,” and attorney docket no. 11884-403701 entitled “System and Method for Asynchronous Resource Management.”