jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carsten Ziegeler <cziege...@apache.org>
Subject Re: [RT] Adding event interface to jackrabbit api
Date Tue, 22 Jul 2008 08:30:49 GMT
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
cziegeler@apache.org

Mime
View raw message