Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-1721

register ContentRepository to whiteboard

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 0.20
    • 1.1.0
    • core
    • None

    Description

      for OAK-1711 we need a way "login" to the content repository - but there is not way how to acquire it. it seems that it is neither registered as OSGi service, nor in the global whiteboard.

      suggesting to do in Oak.createContentRepository(...):

      @@ -548,13 +548,15 @@ public class Oak {
      
      -        return new ContentRepositoryImpl(
      +        ContentRepositoryImpl repository =  new ContentRepositoryImpl(
                       store,
                       CompositeHook.compose(commitHooks),
                       defaultWorkspaceName,
                       queryEngineSettings,
                       indexProvider,
                       securityProvider);
      +        whiteboard.register(ContentRepository.class, repository,
      Collections.emptyMap());
      +        return repository;
           }
      

      Attachments

        Issue Links

          Activity

            People

              tripod Tobias Bocanegra
              tripod Tobias Bocanegra
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: