[jboss-osgi-issues] [JBoss JIRA] Created: (JBOSGI-140) Invalid delivery of framework events
Thomas Diesler (JIRA)
jira-events at lists.jboss.org
Thu Aug 27 08:48:23 EDT 2009
Invalid delivery of framework events
------------------------------------
Key: JBOSGI-140
URL: https://jira.jboss.org/jira/browse/JBOSGI-140
Project: JBoss OSGi
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Core
Reporter: Thomas Diesler
Assignee: Thomas Diesler
Fix For: Framework 1.0.0 Alpha1
Although a listener is associated with a bundle context (i.e. must get removed when the bundle gets uninstalled) the events must get delivered to the listeners that are associated with the framework.
sysContext.addBundleListener(listenerA);
Bundle bndA = sysContext.install("bundleA.jar");
bndA.getBundleContext()..addBundleListener(listenerB);
Bundle bndB = sysContext.install("bundleB.jar");
bndB.uninstall();
Both listenerA and listenerB must see the BundleEvents for bundleB
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-osgi-issues
mailing list