[
https://issues.apache.org/jira/browse/FELIX-102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12620014#action_12620014
]
Richard S. Hall commented on FELIX-102:
---------------------------------------
After looking into this some more, I think what we need to do is make two
modifications:
1. Modify our methods that find candidates to pre-filter any singleton
candidates that have a singleton with the same symbolic name already resolved
in the installed bundle list.
2. Modify findConsistentClassSpace() to check the current set of selected
candidates to see if there are any duplicate singletons selected to be
resolved, if so, increment the candidate configuration.
Step 1 is not strictly necessary, but it will avoid unnecessary inconsistencies
for candidates that can never be chosen.
> Implement singleton bundle support
> ----------------------------------
>
> Key: FELIX-102
> URL: https://issues.apache.org/jira/browse/FELIX-102
> Project: Felix
> Issue Type: New Feature
> Components: Framework, Specification compliance
> Reporter: Richard S. Hall
> Assignee: Richard S. Hall
> Priority: Minor
> Fix For: felix-1.2.0
>
> Attachments: FELIX-102.patch, singleton.patch
>
>
> Section 3.5.2 of the OSGi R4 core specification describes singleton bundles.
> Felix does not currently support this.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.