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 Ian Boston <ie...@tfd.co.uk> on 2014/10/31 13:02:00 UTC

Path mapping.

Hi,

If I wanted to change where JCR items were stored within an Oak repo
would a custom implementation of
org.apache.jackrabbit.oak.namepath.GlobalNameMapper be the place to do
it ?

ie a GlobalNameMapper replacement that did everything it currently
does but also maps

JCR path /content/test/123/**  is stored at Oak path /123/content/all/info/**
and
Oak path /123/content/all/info/** to JCR path /content/test/123/**

I realise this class is not pluggable, is exported from the Oak core
bundle, and is instantiated in various places throughout the Oak code
base.

Best Regards
Ian

Re: Path mapping.

Posted by Ian Boston <ie...@tfd.co.uk>.
Hi,
Please ignore the question, I now understand what the class does,
nothing to do with paths, only relevant to names.

Best Regards
Ian

On 31 October 2014 12:02, Ian Boston <ie...@tfd.co.uk> wrote:
> Hi,
>
> If I wanted to change where JCR items were stored within an Oak repo
> would a custom implementation of
> org.apache.jackrabbit.oak.namepath.GlobalNameMapper be the place to do
> it ?
>
> ie a GlobalNameMapper replacement that did everything it currently
> does but also maps
>
> JCR path /content/test/123/**  is stored at Oak path /123/content/all/info/**
> and
> Oak path /123/content/all/info/** to JCR path /content/test/123/**
>
> I realise this class is not pluggable, is exported from the Oak core
> bundle, and is instantiated in various places throughout the Oak code
> base.
>
> Best Regards
> Ian