You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-dev@jackrabbit.apache.org by Marcel Reutegger <mr...@adobe.com> on 2012/11/05 13:57:27 UTC

ReadOnlyTree

Hi,

I noticed that we use ReadOnlyTree in various plugins even though the class
is in the oak core package, which I think should be considered implementation
internal.

I think it makes sense to move it to an spi package. WDYT?

Regards
 Marcel


Re: ReadOnlyTree

Posted by Michael Dürig <md...@apache.org>.

On 5.11.12 12:57, Marcel Reutegger wrote:
> Hi,
>
> I noticed that we use ReadOnlyTree in various plugins even though the class
> is in the oak core package, which I think should be considered implementation
> internal.
>
> I think it makes sense to move it to an spi package. WDYT?

Generally +1. But OTOH the same also holds for RootImpl. So we might 
want to go for a more general solution and provide an internal API for 
obtaining Trees/Roots.

Michael

>
> Regards
>   Marcel
>