[ 
https://issues.apache.org/jira/browse/FELIX-102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alin Dreghiciu updated FELIX-102:
---------------------------------

    Attachment: FELIX-102.patch

The attached patch implements the singleton support.
Basically while resolving the bundle it check if there are any other resolved 
bundles with the same symbolic name, and if there is it throws an exception 
that will stop the resolving process.

As the implementation used some methods available in R4SerachPolicyCore I 
extract those methods in Util class. Actually this extracted methods could be 
used also from getBundleSymbolicName() from FELIX-650.

The method does not lock the bundles so locking may be needed, no sure.


> 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
>            Priority: Minor
>         Attachments: FELIX-102.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.

Reply via email to