On 3 December 2015 at 04:15, Chetan Mehrotra <chetan.mehro...@gmail.com> wrote:
> Hi Ian, > > On Wed, Dec 2, 2015 at 9:24 PM, Ian Boston <i...@tfd.co.uk> wrote: > > Hence all MutableTrees get their > > NodeBuilder from the root DocumentNodeState that is the DocumentNodeStore > > owning the root node and not the MultiplexingDocumentNodeStore. > > Some confusion here. What we have is a MultiplexDocumentStore and > there is no MultiplexingDocumentNodeStore. All the above objects > DocumentNodeState, DocumentNodeBuilder refer to DocumentNodeStore (not > DocumentStore). > I meant MultiplexDocumentStore. So many stores and so many layers make it hard for someone who doesn't work in Oak every day to find there way around. > > Use of MultiplexDocumentStore is an implementation detail of > DocumentNodeStore hence these objects need not be affected and aware > of multiplexing logic. May be I am missing something here? > Looking at the code again, I don't think you are missing anything. DocumentNodeStore gets its store from the DocumentMK.builder which is a singleton. I need to re-run my tests of the 30 October to find out why I was seeing the behaviour I was seeing, however IIRC you have recently been looking at /jcr:system etc and the branch I was working may now be obsolete ? If it is, please let me know as there is no point in duplication or wasted effort. Best Regards Ian > > Chetan Mehrotra >