[ 
https://issues.apache.org/jira/browse/ARIES-1465?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15041309#comment-15041309
 ] 

David Bosschaert commented on ARIES-1465:
-----------------------------------------

Thanks for the clarification, [~tjwatson]!

On the following:
bq. The issue is that a bundle cannot detect that it is being uninstalled so 
there is no way for the impl to tell it is being uninstalled. It would require 
a separate 'helper' bundle to be installed that listens for when the 
subsystem's impl is uninstalled.

The subsystem implementation *could* potentially do this when it's being 
stopped (simply from the BundleActivator.stop() method). However as I see that 
the spec does not require this I think there is nothing to be done here.

> Stopping the Subsystem-Core bundle does not remove synthesized bundles
> ----------------------------------------------------------------------
>
>                 Key: ARIES-1465
>                 URL: https://issues.apache.org/jira/browse/ARIES-1465
>             Project: Aries
>          Issue Type: Bug
>          Components: Subsystem
>    Affects Versions: subsystem-2.0.8
>            Reporter: David Bosschaert
>
> The Aries Subsystems implementation generates synthesized bundles, such as:
> {code}org.osgi.service.subsystem.region.context.0{code}
> However, when the Aries Subsystem implementation is stopped/uninstalled these 
> generated bundles should disappear. This is currently not happening.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to