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 09:31:34 GMT
Jukka Zitting wrote:
> Hi,
> On Tue, Jul 22, 2008 at 12:10 PM, Carsten Ziegeler <cziegeler@apache.org> wrote:
>> In both cases I'm generating application events out of the observation
>> events, like a page has changed event, removed etc. The post processing is
>> actually done based on this application events, so if a page has changed,
>> some action is started. Therefore my application events need to be marked as
>> local as well.
> Ah, I see. Then I guess we really do need the isLocal() (or
> isExternal() as suggested by Toby) method.
> Perhaps we should reopen JCR-1672 and revert the LocalEventListener
> changes, as I'd rather not have two overlapping mechanisms for the
> same functionality.
Hmm, yes, I guess that's the best - although the interface approach is
a nicer way of handling this *if* you only need the local changes (it's 
easier to implement for a client and optimizes event notification a 
little bit).

I'll come up with a patch.


Carsten Ziegeler

View raw message