jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jukka Zitting <jukka.zitt...@gmail.com>
Subject Re: BTreeManager - opt in or automatic?
Date Tue, 08 May 2012 07:48:50 GMT
Hi,

On Tue, May 8, 2012 at 3:51 AM, David Hausladen
<david_hausladen@yahoo.com> wrote:
> Under the assumption that it's opt in, I started an implementation of the Node interface
that
> adapts to the ItemSequence's NodeSequence (to minimize visibility of the
> org.apache.jackrabbit.commons.flat classes).

If you like, I'd love to incorporate something like that in
jackrabbit-jcr-commons.

> The fact that NodeSequence returns Iterator<javax.jcr.Node> instead of
> javax.jcr.NodeIterator makes it impossible.

Use the Adapter pattern.

BR,

Jukka Zitting

Mime
View raw message