You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2016/01/13 05:59:39 UTC

[jira] [Resolved] (SLING-5424) MBeanServer reference in MetricServiceImpl should be made optional

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

Chetan Mehrotra resolved SLING-5424.
------------------------------------
    Resolution: Fixed

Done with 1724354

> MBeanServer reference in MetricServiceImpl should be made optional
> ------------------------------------------------------------------
>
>                 Key: SLING-5424
>                 URL: https://issues.apache.org/jira/browse/SLING-5424
>             Project: Sling
>          Issue Type: Improvement
>          Components: Commons
>            Reporter: Chetan Mehrotra
>            Assignee: Chetan Mehrotra
>            Priority: Minor
>             Fix For: Commons Metrics 1.0.2
>
>
> Currently {{MetricServiceImpl}} has a required dependency on MBeanServer. Technically this can be made optional and default Platform MBeanServer can be used. 
> Sling Launchpad registers an MBeanServer by default which might not be the case in other OSGi setups. So making this optional would simplify using this bundle in other setup also
> Also look into testcase logic per discussion in http://markmail.org/thread/mow4u6vn7mfnj7gy



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)