On 27.1.14 5:20 , Jukka Zitting wrote:
Hi,

On Mon, Jan 27, 2014 at 10:42 AM, Michael Dürig <[email protected]> wrote:
This renders much of my work from OAK-1133 useless as now there is no way to
plug in a custom listener.

Hmm, perhaps I'm mistaking the pluggability that was built in
OAK-1133. My assumption was that it was mostly in the EventFilter
mechanism, which I didn't touch.

Can you provide an example of the kind of code that I broke?

Have a look at the EventGenerator constructor before your changes. There you could pass in a Listener instance which then would receive the respective call backs. The JcrListner class was just one such Listener implementation, materialising the call backs to EventImpl instances. The idea was that low level implementation could use this for their own purposes when a different materialisation was needed (e.g. including jcr:content).

Michael


BR,

Jukka Zitting

Reply via email to