jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julian Reschke <julian.resc...@gmx.de>
Subject Re: oak-jcr: path handling
Date Tue, 24 Apr 2012 15:10:17 GMT
On 2012-04-22 18:31, Michael Dürig wrote:
> ...

O(a)K.

Concrete Proposal:

1) use NameSpaceMappings in Oak-Core to keep track of 
JCRprefix<->namespace<->MKprefix mappings

2) expose it on ContentSession

3) In JCR Session (SessionImpl), delegate namespace mapping 
functionality (both repo and session) to ContentSession

4) make JcrPathParser stateful (by holding a reference to 
NameSpaceMappings), so that we can call the path conversion methods 
without having to pass down the mappings object all the time

Feedback appreciated, Julian

Mime
View raw message