jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <marcel.reuteg...@gmx.net>
Subject Re: event listener not getting any events..
Date Tue, 18 Jul 2006 10:02:01 GMT
Jukka Zitting wrote:
> Marcel, what's the rationale behind the spec?

when you have events for properties like property_added, 
property_removed and property_changed the node type filter only makes 
sense for the parent node. it was then decided to use the term 
'associated parent node' for each event and declare all filters 
(absPath, isDeep, uuid and nodeTypeName) to apply to this associated 
parent node, even for the node related events.

and in some cases it actually makes sense. imagine that you want to 
get notifications when a node is added or removed from nt:folder 
nodes. Then the API provides you with exactly that functionality. of 
course there are other use cases such as the one mentioned by torgeir, 
which are not properly supported by the API.

regards
  marcel

Mime
View raw message