Marcel Reutegger wrote:
Carsten Ziegeler wrote:
Now while trying to use the new LocalEventListener interface
I found out that there is (obviously) a difference between
this marker interface approach and using an extensions of the
Event interface.
While the marker interface makes the event listener unaware of
any changes happening on other nodes in the cluster, the
extensions of the event interface ensures that the listener
receives all events and can decide by itself what to do.
Now, actually, I need this second use case as well :)
would a second marker interface e.g. ExternalEventListener cover your
use case?
Hmm, yes, but then I would have to implement to different listeners (or
register two different listeners).
Hmm, not sure what the better solution is.
Carsten
--
Carsten Ziegeler
[EMAIL PROTECTED]