Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-2909 Review and improve Oak and Jcr repository setup
  3. OAK-2894

RepositoryImpl should not manage the lifecycle of ContentRepository

    XMLWordPrintableJSON

Details

    Description

      RepositoryImpl uses an instance of ContentRepository that is passed as an external dependency in its constructor.

      RepositoryImpl is not responsible for the creation of the ContentRepository instance and, as such, should not manage its lifecycle. In particular, the ContentRepository#close method should not be called when the RepositoryImpl#shutdown method is executed.

      Attachments

        Issue Links

          Activity

            People

              frm Francesco Mari
              frm Francesco Mari
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: