[ 
https://issues.apache.org/jira/browse/OAK-1816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14042012#comment-14042012
 ] 

Michael Dürig commented on OAK-1816:
------------------------------------

I generally share Jukka's view that the creator of a resource should also take 
care of properly shutting it down. I.e. there is no need for implementing and 
instance testing for {{Closeable}}. However I this case I don't see an easy way 
to follow this approach. So +1 unless Jukka, has another idea.

Re. the implementation maybe {{CompositeRegistration}} might simplify things a 
bit?

> Oak#createContentRepository never unregisters some of its services
> ------------------------------------------------------------------
>
>                 Key: OAK-1816
>                 URL: https://issues.apache.org/jira/browse/OAK-1816
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core
>            Reporter: Michael Dürig
>         Attachments: OAK-1816.patch
>
>
> {{Oak#createContentRepository}} registers a bunch of services with the 
> {{Whiteboard}} (MBeans, Executor, Observer) that are never unregistered. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to