jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting" <jukka.zitt...@gmail.com>
Subject Re: event listener not getting any events..
Date Mon, 17 Jul 2006 20:51:31 GMT
Hi,

On 7/17/06, Marcel Reutegger <marcel.reutegger@gmx.net> 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 jsr-170-comments@jcp.org 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/ - info@yukatan.fi
Software craftsmanship, JCR consulting, and Java development

Mime
View raw message