You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2009/09/21 14:38:25 UTC

[jira] Created: (JCR-2314) Open access modifier for RepositoryImpl.doShutdown()

Open access modifier for RepositoryImpl.doShutdown()
----------------------------------------------------

                 Key: JCR-2314
                 URL: https://issues.apache.org/jira/browse/JCR-2314
             Project: Jackrabbit Content Repository
          Issue Type: Improvement
            Reporter: Marcel Reutegger
            Priority: Minor


This is required for a subclass of RepositoryImpl that wants to run additional code on shutdown, otherwise a deadlock may occur because the sequence of lock acquisition cannot be ensured.

Jackrabbit requires that the shutdownLock is first acquired and then the actual shutdown code is executed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (JCR-2314) Open access modifier for RepositoryImpl.doShutdown()

Posted by "Marcel Reutegger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-2314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcel Reutegger resolved JCR-2314.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0

doShutdown() is now protected.

svn revision: 817230

> Open access modifier for RepositoryImpl.doShutdown()
> ----------------------------------------------------
>
>                 Key: JCR-2314
>                 URL: https://issues.apache.org/jira/browse/JCR-2314
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>            Reporter: Marcel Reutegger
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> This is required for a subclass of RepositoryImpl that wants to run additional code on shutdown, otherwise a deadlock may occur because the sequence of lock acquisition cannot be ensured.
> Jackrabbit requires that the shutdownLock is first acquired and then the actual shutdown code is executed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.