jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig <mdue...@apache.org>
Subject Re: Observation
Date Fri, 08 Nov 2013 11:45:16 GMT


On 8.11.13 11:28 , Michael Dürig wrote:
>> (just a rough sketch; the simplest solution could simply introduce a
>> FilterEventListener interface that extends the existing EventListener
>> and provides the filter in a getFilter() method; a simple instanceof
>> check within oak-jcr could detect that; but a completely separate API
>> might also make sense, see point 6 below)
>
> This wouldn't work for journalled observation (OAK-1145) where we'd also
> need this filtering capabilities. There isn't an event listener involved
> there where to attach such a filter. So we probably need that new API
> where some kind of a filter object is passed directly.

Just occurred to me that in JCR 2.1 the current way of specifying a 
filter is deprecated in favour of a dedicated EventFilter class. I think 
this sketches a way forward here.

Michael

Mime
View raw message