jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carsten Ziegeler <cziege...@apache.org>
Subject Re: [jr3] Additional Jackrabbit interfaces in org.apache.jackrabbit.api
Date Tue, 20 Apr 2010 07:50:27 GMT
Isn't there already a

org.apache.jackrabbit.api.observation.ExtendedEvent and
org.apache.jackrabbit.api.observation.JackrabbitEvent ?

which somehow already seems to duplicate the ClusterEvent functionality
At least I can't make up the difference between those two interfaces.


Thomas Müller  wrote
> There are a few interfaces that might be interesting for all users of
> Jackrabbit. Those should be in the api package (not only for OSGi).
> The most important is probably:
> org.apache.jackrabbit.core.observation.SynchronousEventListener
> What about 'officially' supporting it, and moving it to
> org.apache.jackrabbit.api? For example to
> org.apache.jackrabbit.api.observation.SynchronousEventListener
> Another related interface that currently doesn't exist is:
> org.apache.jackrabbit.api.observation.ClusterEvent with a method
> "isExternal()" so that you can find out if an event originated from
> this or another cluster node (because in some cases you only want to
> handle an event in one cluster node, not in all of them). Maybe we
> would additionally need ClusterAwareEventListener and
> ClusterAwareEventJournal (to avoid having to cast).
> What do you think? Other interfaces? This is mainly for Jackrabbit 3,
> but we might start supporting it within Jackrabbit 2.x as well if
> needed.
> Regards,
> Thomas

Carsten Ziegeler

View raw message