摘要 |
A mechanism for booking events comprising an event broker, one or more event managers and one or more action handlers. In one embodiment, the event broker is configured to register a plurality of event bookings, each of which identifies an event and a corresponding action. For each event booking, the event broker notifies an event manager which is configured to detect the type of event identified in the event booking. When the event manager detects the identified event, it notifies the event broker. The broker then notifies an action handler which is configured to initiate the type of action identified in the event booking. The action handler then initiates the action. If the event booking is non-recurring and the action is complete, the event booking is unregistered by the event broker. |