[
https://jira.jboss.org/browse/JBOSGI-383?page=com.atlassian.jira.plugin.s...
]
Thomas Diesler resolved JBOSGI-383.
-----------------------------------
Fix Version/s: JBossOSGi 1.0.0 Beta9
(was: JBossOSGi 1.0.x)
Resolution: Done
Done
BundleContext.getBundle(long) and BundleContext.getBundles() now also include UNISTALLED
bundles if and only if those bundles provide capabilities that wire to bundles that are
not (yet) unistalled
Bundle.uninstall() removes a bundle from the Framework immediately when that bundle does
not provide capabilities that wire to active bundles.
Cannot refresh uninstalled bundle through FrameworkMBean
--------------------------------------------------------
Key: JBOSGI-383
URL:
https://jira.jboss.org/browse/JBOSGI-383
Project: JBoss OSGi
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: jboss-osgi-jmx
Reporter: Thomas Diesler
Assignee: Thomas Diesler
Fix For: JBossOSGi 1.0.0 Beta9
I noticed that there might be an issue with FrameworkMBean.refreshBundles(long[]
bundleIds). The Aries implementation delegates to PackageAdmin.refreshPackages, for which
it needs an Bundle[]. BundleContext.getBundle(long bundleId) would however return null for
already uninstalled bundles. As a result it seems that you cannot refresh a bundle that is
already uninstalled.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira