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

Reply via email to