jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Müller <thomas.muel...@day.com>
Subject [jr3] Additional Jackrabbit interfaces in org.apache.jackrabbit.api
Date Tue, 20 Apr 2010 07:12:20 GMT
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

Mime
View raw message