[ 
https://jira.nuxeo.org/browse/NXP-4509?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Damien Metzler closed NXP-4509.
-------------------------------

    Resolution: Fixed

> Cleanly close Session an repository in the CoreSessionProvider
> --------------------------------------------------------------
>
>                 Key: NXP-4509
>                 URL: https://jira.nuxeo.org/browse/NXP-4509
>             Project: Nuxeo Enterprise Platform
>          Issue Type: Improvement
>            Reporter: Damien Metzler
>   Original Estimate: 1 hour
>  Remaining Estimate: 1 hour
>
> In the initial implementation of CoreSessionProvider, the sessions injected 
> is not closed and the repository not shutted down. 
> Since we use Guice 1.0 there is no mean to register for injection events  and 
> can't detect if a session was provided. 
> A small enhancement should be to track the sessions injected in the 
> NuxeoCoreRunner, and close them in the afterRun method. The 
> CoreSessionProvider must call the registering method of NuxeoCoreRunner.
> The only problem is that if one want to build its own NuxeoCoreProvider 
> without registering the injection, it won't work and leave the repo open. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to