DYNAMIC LISTENER LOOKUP AND IMPLEMENTATION
First Claim
1. At a computer system including a processor and a memory, in a computer programming environment configured to implement an observer pattern, a computer-implemented method for dynamically determining event listeners, the method comprising:
- an act of sending a query to a data store to determine which event listeners are configured to listen for an indicated event, wherein the event listeners are registered in the data store without the software module having to explicitly declare its event listeners;
an act of receiving from the data store an indication of those event listeners that are configured to listen for the event; and
an act of sending the event to those event listeners indicated by the data store as being registered to receive notification of the event'"'"'s occurrence.
1 Assignment
0 Petitions
Accused Products
Abstract
Embodiments are directed to dynamically determining event listeners. A computer system sends a query to a data store to determine which event listeners are configured to listen for an indicated event. The event listeners are registered in the data store without the software module having to explicitly declare its event listeners. The computer system receives from the data store an indication of those event listeners that are configured to listen for the event. The computer system also sends the event to those event listeners indicated by the data store as being registered to receive notification of the event'"'"'s occurrence.
-
Citations
20 Claims
-
1. At a computer system including a processor and a memory, in a computer programming environment configured to implement an observer pattern, a computer-implemented method for dynamically determining event listeners, the method comprising:
-
an act of sending a query to a data store to determine which event listeners are configured to listen for an indicated event, wherein the event listeners are registered in the data store without the software module having to explicitly declare its event listeners; an act of receiving from the data store an indication of those event listeners that are configured to listen for the event; and an act of sending the event to those event listeners indicated by the data store as being registered to receive notification of the event'"'"'s occurrence. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. At a computer system including a processor and a memory, in a computer programming environment configured to implement an observer pattern, a computer-implemented method for providing dynamically determined event listeners to a software module, the method comprising:
-
an act of inserting into a database information identifying one or more event listeners that are configured to listen for events related to an identified software module; an act of receiving an event trigger at a software application indicating that an event related to the identified software module has occurred; an act of the application querying the database to determine which listeners are configured to listen for events related to the identified software module; an act of receiving from the database an indication of those listeners which are configured to listen for events related to the identified software module; and an act of sending the triggered event to those event listeners indicated as being related to the identified software module. - View Dependent Claims (15, 16, 17, 18)
-
-
19. A computer program product for implementing a method for providing modular software functionality using generic callbacks managed in a data store, the computer program product comprising one or more computer-readable storage media having stored thereon computer-executable instructions that, when executed by one or more processors of the computing system, cause the computing system to perform the method, the method comprising:
-
an act of sending a query to a data store to determine which event listeners are configured to listen for an indicated event, wherein the event listeners are registered in the data store without the software module having to explicitly declare its event listeners; an act of an act of receiving from the data store an indication of those event listeners that are configured to listen for the event; and an act of sending the event to those event listeners indicated by the data store as being registered to receive notification of the event'"'"'s occurrence. - View Dependent Claims (20)
-
Specification