System and method for aggregating registration of entities for notifications of events
First Claim
1. An event aggregator for use in a computer system having a plurality of objects, each of which has a type, generates events and requires a listener to register with it in order to receive notification of the events, the event aggregator allowing an application program to receive notification of events generated by selected objects without registering with each object and comprising:
- a registration list module that receives a registration request from the application program indicating from which object types the application program wants to receive notification of events;
an object monitor that continually checks the computer system for newly created objects and registers a listener with each newly created object; and
an event monitor that notifies the application program if any listener registered by the object monitor receives notification of an event generated by an object type indicated by the registration request.
3 Assignments
0 Petitions
Accused Products
Abstract
An event aggregator allows an application program to receive notification of events generated by selected objects without registering as a listener for events with each object. The event aggregator has a registration list module that receives a registration request from the application program indicating from which object types the application program wants to receive notification of events, an object monitor that continually checks the computer system for objects and registers a listener with each object; and an event monitor that that notifies the application program if any listener receives notification of an event generated by an object type indicated by the registration request.
-
Citations
18 Claims
-
1. An event aggregator for use in a computer system having a plurality of objects, each of which has a type, generates events and requires a listener to register with it in order to receive notification of the events, the event aggregator allowing an application program to receive notification of events generated by selected objects without registering with each object and comprising:
-
a registration list module that receives a registration request from the application program indicating from which object types the application program wants to receive notification of events;
an object monitor that continually checks the computer system for newly created objects and registers a listener with each newly created object; and
an event monitor that notifies the application program if any listener registered by the object monitor receives notification of an event generated by an object type indicated by the registration request. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A method for use in a computer system having a plurality of objects, each of which has a type, generates events and requires a listener to register with it in order to receive notification of the events, the method allowing an application program to receive notification of events generated by selected objects without registering with each object and comprising:
-
(a) creating an event aggregator for consolidating event notifications;
(b) receiving a registration request at the event aggregator from the application program indicating from which object types the application program wants to receive notification of events;
(c) using the event aggregator to continually check the computer system for newly created objects and register a listener with each newly created object; and
(d) using the event aggregator to notify the application program if any listener registered by the event aggregator receives notification of an event generated by an object type indicated by the registration request. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A computer program product for use in a computer system having a plurality of objects, each of which has a type, generates events and requires a listener to register with it in order to receive notification of the events, the computer program product allowing an application program to receive notification of events generated by selected objects without registering with each object and comprising a computer usable medium having computer readable program code thereon, including:
-
program code that creates an event aggregator for consolidating event notifications;
program code in the event aggregator that receives a registration request from the application program indicating from which object types the application program wants to receive notification of events;
program code in the event aggregator that continually checks the computer system for newly created objects and registers a listener with each newly created object; and
program code in the event aggregator that notifies the application program if any listener registered by the program code in the event aggregator receives notification of an event generated by an object type indicated by the registration request. - View Dependent Claims (14, 15, 16, 17, 18)
-
Specification