jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torgeir Veimo <torg...@pobox.com>
Subject event listener not getting any events..
Date Fri, 14 Jul 2006 12:14:37 GMT
I'm registering an event listener like this:
 
systemSession.getWorkspace().getObservationManager().addEventListener(new 
ProtectedNodeListener(systemSession),
   (Event.NODE_ADDED | Event.NODE_REMOVED | Event.PROPERTY_ADDED | 
Event.PROPERTY_REMOVED | Event.PROPERTY_CHANGED),
   "/jcr:root",
   true,
   null,
   new String [] { "nen:protected", "nen:ace" },
   true);

But I'm not getting any events when i create nodes with mixin nodetype 
nen:protected. Any clues on what I'm doing wrong?

-- 
-Torgeir

Mime
View raw message