[
https://issues.apache.org/jira/browse/ARIES-1493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15130586#comment-15130586
]
David Bosschaert commented on ARIES-1493:
-----------------------------------------
Or... as friend suggested:
bq. Register as a ServiceFactory with the service name as a String (instead of
XYZ.class.name()). Then the service is registered and once the API becomes
available and the service is requested the ServiceFactory returns the actual
instance. The cm package has to be DynamicImport-Package-ed for this to work.
> Investigate making the org.osgi.service.cm dependency optional rather than
> mandatory.
> -------------------------------------------------------------------------------------
>
> Key: ARIES-1493
> URL: https://issues.apache.org/jira/browse/ARIES-1493
> Project: Aries
> Issue Type: Improvement
> Components: Subsystem
> Affects Versions: subsystem-2.0.8
> Reporter: John Ross
> Priority: Minor
>
> The subsystem core bundle currently has a mandatory dependency on package
> org.osgi.service.cm. I believe this was added as part of ARIES-1252. We
> should make this optional if possible.
> David, do you see any issues with making this dependency optional?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)