Method and apparatus for meta object facility repository event notification
First Claim
1. A method for notifying one or more listeners of an event in a meta object facility repository (MOF), the event having an event type, the method including:
- creating an event object for the event, the event object corresponding to the event sub-type;
performing the event;
calling a method for each of the listeners registered for event notification for the event type by passing said event object to listeners described in an event source interface corresponding to the event type, said method for each of the listeners registered for event notification implemented by each listener.
1 Assignment
0 Petitions
Accused Products
Abstract
Meta object facility repository event notification may be accomplished through the use of listener interfaces implemented by event listeners and event source interfaces implemented by objects at the repository. The listeners may register for event notifications of a particular type by passing a registration call for the event type to an appropriate event source interface. Additionally, listeners may register for listening to event notifications of any combination of event sub-types by passing a registration call (together with a bitmask indicating the event sub-types combinations) to a combination event type source interface. If an event occurs, an event object (describing the occurred event) is created by the event source and then it is passed via a notification call to each of the listeners registered for notifications of this particular event type or sub-type. This provides notification of the occurrence of events to the listeners.
31 Citations
43 Claims
-
1. A method for notifying one or more listeners of an event in a meta object facility repository (MOF), the event having an event type, the method including:
-
creating an event object for the event, the event object corresponding to the event sub-type;
performing the event;
calling a method for each of the listeners registered for event notification for the event type by passing said event object to listeners described in an event source interface corresponding to the event type, said method for each of the listeners registered for event notification implemented by each listener. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 16, 17, 18, 19, 20)
-
-
12. A method for notifying one or more listeners of an event in a meta object facility repository (MOF), the event having an event type, the method including:
-
creating an event object for the event, the event object corresponding to the event sub-type;
performing the event; and
calling a method for each of the listeners registered for event notification for the event sub-type by passing the event object to event sub-type listeners as indicated by a bitmask in a combination event source interface, the method for each of the listeners registered for event notification implemented by each listener, wherein a listener registers for event notification for an event type by setting a bit corresponding to the event sub-type in a combination event source interface.
-
-
13. A method for registering for event notification of an event in a meta object facility repository (MOF), the event having an event type, the method including:
-
implementing a method for event notification corresponding to the event type;
passing a registration call to a class implemented by the MOF designed to track listener registrations in an event source interface corresponding to the event type.
-
-
14. A method for registering for event notification of an event in a meta object facility repository (MOF), the event having an event type and event sub-type, the method including:
-
implementing a method for event notification corresponding to a combination event type;
passing a bitmask to a class implemented by the MOF designed to track listener registrations in a combination event type source interface, the bitmask indicating on which event sub-types to receive event notification.
-
-
15. An apparatus for notifying one or more listeners of an event in a meta object facility repository (MOF), the event having an event type and sub-type, the apparatus including:
-
an event source interface corresponding to the event type; and
a memory storing an event object, said event object corresponding to the event sub-type, said memory coupled to said event source interface.
-
-
21. An apparatus for notifying one or more listeners of an event in a meta object facility repository (MOF), the event having an event type and an event sub-type, the apparatus including:
-
a combination event type source interface; and
a memory storing an combination event object, said memory coupled to said combination event type source interface. - View Dependent Claims (22, 23, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36)
-
-
24. An apparatus for registering for event notification of an event in a meta object facility repository (MOF), the event having an event type, the apparatus including:
-
a listener interface implementing a method for event notification corresponding to the event type; and
means for passing a registration call to a class implemented by the MOF designed to track listener registrations in an event source interface corresponding to the event type.
-
-
25. An apparatus for registering for event notification of an event in a meta object facility repository (MOF), the event having an event type and event sub-type, the apparatus including:
-
a listener interface implementing a method for event notification corresponding to a combination event type; and
means for passing a bitmask to a class implemented by the MOF designed to track listener registrations in a combination event type source interface, the bitmask indicating on which event sub-types to receive event notification.
-
-
26. An apparatus for notifying one or more listeners of an event in a meta object facility repository (MOF), the event having an event type, the apparatus including:
-
means for creating an event object for the event, the event object corresponding to the event sub-type;
means for performing the event;
means for calling a method for each of the listeners registered for event notification for the event type by passing said event object to listeners described in an event source interface corresponding to the event type, said method for each of the listeners registered for event notification implemented by each listener.
-
-
37. An apparatus for notifying one or more listeners of an event in a meta object facility repository (MOF), the event having an event type, the apparatus including:
-
creating an event object for the event, the event object corresponding to the event sub-type;
performing the event; and
calling a method for each of the listeners registered for event notification for the event sub-type by passing the event object to event sub-type listeners as indicated by a bitmask in a combination event source interface, the method for each of the listeners registered for event notification implemented by each listener, wherein a listener registers for event notification for an event type by setting a bit corresponding to the event sub-type in a combination event source interface.
-
-
38. An apparatus for registering for event notification of an event in a meta object facility repository (MOF), the event having an event type, the apparatus including:
-
means for implementing a method for event notification corresponding to the event type;
means for passing a registration call to a class implemented by the MOF designed to track listener registrations in an event source interface corresponding to the event type.
-
-
39. An apparatus for registering for event notification of an event in a meta object facility repository (MOF), the event having an event type and event sub-type, the method including:
-
means for implementing a method for event notification corresponding to a combination event type;
means for passing a bitmask to a class implemented by the MOF designed to track listener registrations in a combination event type source interface, the bitmask indicating on which event sub-types to receive event notification.
-
-
40. A program storage device readable by a machine, tangibly embodying a program of instructions executable by the machine to perform a method for notifying one or more listeners of an event in a meta object facility repository (MOF), the event having an event type, the method including:
-
creating an event object for the event, the event object corresponding to the event sub-type;
performing the event;
calling a method for each of the listeners registered for event notification for the event type by passing said event object to listeners described in an event source interface corresponding to the event type, said method for each of the listeners registered for event notification implemented by each listener.
-
-
41. A program storage device readable by a machine, tangibly embodying a program of instructions executable by the machine to perform a method for notifying one or more listeners of an event in a meta object facility repository (MOF), the event having an event type, the method including:
-
creating an event object for the event, the event object corresponding to the event sub-type;
performing the event; and
calling a method for each of the listeners registered for event notification for the event sub-type by passing the event object to event sub-type listeners as indicated by a bitmask in a combination event source interface, the method for each of the listeners registered for event notification implemented by each listener, wherein a listener registers for event notification for an event type by setting a bit corresponding to the event sub-type in a combination event source interface.
-
-
42. A program storage device readable by a machine, tangibly embodying a program of instructions executable by the machine to perform a method for registering for event notification of an event in a meta object facility repository (MOF), the event having an event type, the method including:
-
implementing a method for event notification corresponding to the event type;
passing a registration call to a class implemented by the MOF designed to track listener registrations in an event source interface corresponding to the event type.
-
-
43. A program storage device readable by a machine, tangibly embodying a program of instructions executable by the machine to perform a method for registering for event notification of an event in a meta object facility repository (MOF), the event having an event type and event sub-type, the method including:
-
implementing a method for event notification corresponding to a combination event type;
passing a bitmask to a class implemented by the MOF designed to track listener registrations in a combination event type source interface, the bitmask indicating on which event sub-types to receive event notification.
-
Specification