On Tue, Apr 14, 2015 at 10:25 PM, Angela Schreiber <[email protected]> wrote: > Since I initialize the JCR with >>an instance of the Oak, it would be nice to reach in and get the >>underlaying oak repo
I am seeing similar requirement for that at OAK-2760 where the HttpServer has to access both ContentRepository and JCR Repository. Should we modify the Jcr class to 1. To not allow more than 1 invocation for createRepository 2. Cache the repo created in createRepository 3. Expose a getter for the ContentRepository instance created in createRepository OR 1. Have special interface for providing ContentRepository via RepositoryImpl. Something like RepositoryImpl implements OakRepository and have it provide accessor for the backing content repo instance Chetan Mehrotra
