You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Francesco Mari (JIRA)" <ji...@apache.org> on 2015/05/20 17:40:01 UTC

[jira] [Created] (OAK-2894) RepositoryImpl should not manage the lifecycle of ContentRepository

Francesco Mari created OAK-2894:
-----------------------------------

             Summary: RepositoryImpl should not manage the lifecycle of ContentRepository
                 Key: OAK-2894
                 URL: https://issues.apache.org/jira/browse/OAK-2894
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: jcr
            Reporter: Francesco Mari


{{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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)