> You want me to provide
> getObservationManager().addEventListener ?
but with what arguments? are you sure you select the correct events to listen to

if you want to listen to all events do:
wsp.getObservationManager().addEventListener(listener,
                Event.NODE_ADDED | Event.NODE_REMOVED
                | Event.PROPERTY_ADDED | Event.PROPERTY_REMOVED,
                "/", true, null, null, false);

> There is nothing to it.
> After that I use
> session.getWorkspace(),getObser...getEventListenerIterator,
> and it's empty.
please note, that the event listener is bound to the session you
retrieve the workspace from. once you close/logout the session, the
listener is removed.

regards, toby


On 11/4/05, Aleksandar Pecanov <[EMAIL PROTECTED]> wrote:
> I have a little bit of problem. Maybe I'm misusing something.
> When adding an event listener to the observation manager, no exceptions
> are throwen, everything seems fine. But no events are delivered to the
> event listeners and when I get the event listener iterator from the
> manager, it's empty.
> Does observation work in jackrabbit?
>
> Thank you
>
>


--
-----------------------------------------< [EMAIL PROTECTED] >---
Tobias Bocanegra, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel
T +41 61 226 98 98, F +41 61 226 98 97
-----------------------------------------------< http://www.day.com >---

Reply via email to