[
https://issues.apache.org/jira/browse/FELIX-102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12619210#action_12619210
]
Alin Dreghiciu commented on FELIX-102:
--------------------------------------
Unfortunately the patch does not solve the problem because if I have two
bundles A dn B that import their own package that are also exported, during
resolving of bundle A bundle B will be selected in the candidate map for bundle
A. This means that the bundle B will get resolved automatically during
resolving A. In that case when the resolve method is called for bundle B the
singleton check will not be called as bundle B is already resolved in a
previous step while resolving bundle A. So as this to work the pending resolve
candidates will also have to be checked. And if we do that then the full
support for singleton will be in place.
I will look into it but I have a plane to catch in couple of hours and then I
will be on holiday for 2 weeks.
> 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.