[
https://issues.apache.org/jira/browse/ARIES-1465?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15041572#comment-15041572
]
Thomas Watson commented on ARIES-1465:
--------------------------------------
Cleaning up all bundles from all subsystems on stop means that on restart all
bundles for all subsystems would have to be re-installed on start. That is
churn that I think would be bad to do and not really in the spirit of the
requirement for persistent subsystems. With Equinox regions even when
subsystems imple is stopped or uninstalled the regions remain and continue to
isolate the bundles contained in the scoped subsystems. It is just the root
region context bundle that is noticeable. If this is important to do the clean
up on uninstall I think the proper solution is to have a clean up helper bundle
that listens for when the subsystems impl is uninstalled. It can then remove
the region context bundles and even cleanup the equinox regions associated with
the subsystems. But I don't think that should be the responsibility of the
subsystems impl bundle.
> 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)