[
https://issues.apache.org/jira/browse/FELIX-102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12619294#action_12619294
]
Richard S. Hall commented on FELIX-102:
---------------------------------------
Yep, I see the situation you are describing in a simple example that I made. It
makes sense since this is the issue I described about the original patch, i.e.,
it will not catch when bundles are resolved indirectly. However, it should
still work like the original patch and catch explicit singleton resolves.
But what it sounds like you are saying now, is that this partial functionality
is actually not sufficient for you afterall, is that correct? If so, then yes
we will have to investigate how to check selected candidates.
One thing I also thought about is that we will probably have to make this check
more efficient, since it will get performed often if you are resolving a big
set of bundles. Of course, we can worry about optimizing it later and just get
the functionality working now, so we know what we need.
> 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.