Chetan Mehrotra created SLING-5424:
--------------------------------------

             Summary: 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)

Reply via email to