Transactional environments for event and data binding handlers
First Claim
1. A method, comprising:
- registering one or more handlers for a software application of a computing device, wherein each of the one or more handlers is configured to be executed upon receiving one or more indications of one or more triggering events;
executing the software application on the computing device using an actual environment of the software application;
determining, at the computing device, that a triggering event for the software application has occurred; and
in response to the triggering event, the computing device;
determining a handler environment for the triggering event, wherein the handler environment is based on the actual environment,determining that one or more triggered handlers of the one or more registered handlers are to be executed,making available to each individual triggered handler at least a respective portion of the handler environment,executing the one or more triggered handlers, wherein at least one triggered handler of the one or more triggered handlers updates its respective portion of the handler environment during execution,after executing the one or more triggered handlers, determining an updated-handler environment based on the handler environment and the portions of the handler environments made available to the one or more triggered handlers, andupdating the actual environment based on the updated-handler environment.
2 Assignments
0 Petitions
Accused Products
Abstract
Disclosed are apparatus and methods for executing software applications with an actual environment. Handlers for a software application are registered. Each handler can be executed upon receiving an indication of a triggering event. A determination is made that a triggering event for the software application has occurred. In response to the triggering event: a handler environment for the triggering event is determined based on the actual environment, triggered handlers of the registered handlers are determined to be executed, at least a respective portion of the handler environment is made available to each triggered handler, executing the triggered handlers, where at least one triggered handler updates its respective portion of the handler environment during execution, determining an updated-handler environment based on the handler environment and the portions of the handler environments after execution of the triggered handlers, and updating the actual environment based on the updated-handler environment.
-
Citations
35 Claims
-
1. A method, comprising:
-
registering one or more handlers for a software application of a computing device, wherein each of the one or more handlers is configured to be executed upon receiving one or more indications of one or more triggering events; executing the software application on the computing device using an actual environment of the software application; determining, at the computing device, that a triggering event for the software application has occurred; and in response to the triggering event, the computing device; determining a handler environment for the triggering event, wherein the handler environment is based on the actual environment, determining that one or more triggered handlers of the one or more registered handlers are to be executed, making available to each individual triggered handler at least a respective portion of the handler environment, executing the one or more triggered handlers, wherein at least one triggered handler of the one or more triggered handlers updates its respective portion of the handler environment during execution, after executing the one or more triggered handlers, determining an updated-handler environment based on the handler environment and the portions of the handler environments made available to the one or more triggered handlers, and updating the actual environment based on the updated-handler environment. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. A computing device, comprising:
-
a processor; and data storage, configured to store at least computer-readable program instructions, wherein the instructions are configured to, upon execution by the processor, cause the processor to perform functions comprising; registering one or more handlers for a software application, wherein each of the one or more handlers is configured to be executed upon receiving one or more indications of one or more triggering events; executing the software application using an actual environment of the software application; determining that a triggering event for the software application has occurred; and in response to the triggering event; determining a handler environment for the triggering event, wherein the handler environment is based on the actual environment, determining that one or more triggered handlers of the one or more registered handlers are to be executed, making available to each individual triggered handler at least a respective portion of the handler environment, executing the one or more triggered handlers, wherein at least one triggered handler of the one or more triggered handlers updates its respective portion of the handler environment during execution, after executing the one or more triggered handlers, determining an updated-handler environment based on the handler environment and the portions of the handler environments made available to the one or more triggered handlers, and updating the actual environment based on the updated-handler environment. - View Dependent Claims (15, 16, 17, 18, 19, 20, 21, 22, 23, 24)
-
-
25. An article of manufacture including a computer-readable storage medium having instructions stored thereon that, in response to execution by a processor, cause the processor to perform functions, the instructions comprising:
-
instructions for registering one or more handlers for a software application, wherein each of the one or more handlers is configured to be executed upon receiving one or more indications of one or more triggering events; instructions for executing the software application using an actual environment of the software application; instructions for determining that a triggering event for the software application has occurred; and instructions for, in response to the triggering event; determining a handler environment for the triggering event, wherein the handler environment is based on the actual environment, determining that one or more triggered handlers of the one or more registered handlers are to be executed, making available to each individual triggered handler at least a respective portion of the handler environment, executing the one or more triggered handlers, wherein at least one triggered handler of the one or more triggered handlers updates its respective portion of the handler environment during execution, after executing the one or more triggered handlers, determining an updated-handler environment based on the handler environment and the portions of the handler environments made available to the one or more triggered handlers, and updating the actual environment based on the updated-handler environment. - View Dependent Claims (26, 27, 28, 29, 30, 31, 32, 33, 34, 35)
-
Specification