jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig (JIRA) <j...@apache.org>
Subject [jira] [Updated] (OAK-2894) RepositoryImpl should not manage the lifecycle of ContentRepository
Date Wed, 22 Jul 2015 09:57:04 GMT

     [ https://issues.apache.org/jira/browse/OAK-2894?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Michael Dürig updated OAK-2894:
-------------------------------
    Fix Version/s:     (was: 1.3.4)
                   1.3.5

> 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: Sub-task
>          Components: jcr
>    Affects Versions: 1.2.2
>            Reporter: Francesco Mari
>              Labels: modularization, resilience, technical_debt
>             Fix For: 1.3.5
>
>
> {{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)

Mime
View raw message