[
https://issues.apache.org/jira/browse/OAK-4978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15682772#comment-15682772
]
Chetan Mehrotra commented on OAK-4978:
--------------------------------------
+1. Have the factory call SegmentNodeStoreService#activate. Only downside for
now would be that metatype for the factory would not be rich. But that should
be ok. This we can later address via new typed config support [1].
In doing this we should ensure that any singleton service registered (like JMX
MBeans) etc should be scoped to the role so as to allow multiple such services
to be registered.
[1] http://njbartlett.name/2015/08/17/osgir6-declarative-services.html
> Expose maintainence related MBeans for Segment NodeStores created via factory
> -----------------------------------------------------------------------------
>
> Key: OAK-4978
> URL: https://issues.apache.org/jira/browse/OAK-4978
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: segment-tar, segmentmk
> Reporter: Chetan Mehrotra
> Assignee: Alex Parvulescu
> Fix For: 1.6
>
>
> With OAK-4655 support was added to initializing multiple segment nodestores
> and have them exposed via {{NodeStoreProvider}} ties to different roles.
> In some cases such stores are immutable and do not require any maintenance.
> However for other cases maintenance is required. So we would need to expose
> various MBean which allow such maintenance activities.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)