Hi,

On 7/17/06, Marcel Reutegger <[EMAIL PROTECTED]> wrote:
This is expected behaviour. The spec says about the node type parameter:

<jsr-170>
nodeTypeName: Only events whose associated parent node has one of the
node types (or a subtype of one of the node types) in this list will
be received. If this parameter is null then no node typerelated
restriction is placed on events received. Note that specifying an
empty array instead of null would result in no node types being
listened to.
</jsr-170>

Argh, the javax.jcr.observation.ObservationManager Javadoc says:

   nodeTypeName: Only events whose associated node has one of the
   node types (or a subtype of one of the node types) in this list will be
   received. If his parameter is null then no node type-related restriction
   is placed on events received.

Cc'ing [EMAIL PROTECTED] as this is something that definitely
should be fixed if still possible in the upcoming JSR 170 maintenance
release.

BR,

Jukka Zitting

--
Yukatan - http://yukatan.fi/ - [EMAIL PROTECTED]
Software craftsmanship, JCR consulting, and Java development

Reply via email to