[Embedlets-dev] Re: Event Manager
Status: Alpha
Brought to you by:
tkosan
|
From: Andrzej J. T. <an...@ch...> - 2003-02-22 22:56:29
|
Ted asks:
> If the Embedlet produces SwitchEvents, does this mean that every other
> Embedlet in the application that consumes SwitchEvents will be forced to
> subscribe to this event source?
>
> What if one had 10 JAPL input bits that were being polled by 10 Embedlets
> which all generated SwitchEvents? Would all SwitchEvent consumers in the
> application be forced to subscribe to all of these event sources?
The Embedlet Event Manager service will provide the ability for an event
consumer to specify criteria for the events they want to receive, and
this will include more than just the "type" of the event (since that is
pretty coarse grained).
You'll be able to subscribe to events by:
- event type
- producer (specific sender)
- various other properties (either user or system properties in the
event).
- Any combination of the above.
So a particular event consumer (eg. an embedlet) will be able to receive
only the events it really wants to get and no others.
Might also add the ability for a producer to specify a specific
consumer(s) that are allowed to receive a specific event (might be useful
for security).
Does that answer your concern, Ted?
...Andrzej
Chaeron Corporation
http://www.chaeron.com
|