[
https://issues.apache.org/jira/browse/SLING-7045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16265253#comment-16265253
]
Carsten Ziegeler commented on SLING-7045:
-----------------------------------------
The component annotation has a scope attribute which can be used to set it to
"bundle" scope aka ServiceFactory
I dont understand why simply DS can be used for the other case? Sounds way
simpler to me
> OSGi services should be managed by DS
> -------------------------------------
>
> Key: SLING-7045
> URL: https://issues.apache.org/jira/browse/SLING-7045
> Project: Sling
> Issue Type: Improvement
> Components: Commons
> Reporter: Carsten Ziegeler
> Fix For: commons metrics 1.2.4
>
>
> MetricsServiceImpl is currently registering two services in its activate
> method - there seems to be no real reason doing this manually and the
> services should rather be registered by DS
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)