[jboss-dev-forums] [JBoss OSGi Development] - Re: Unexpected dependee state changes
thomas.diesler@jboss.com
do-not-reply at jboss.com
Wed Dec 2 03:40:12 EST 2009
Bundle B may also use a BundleTracker to catch and react upon the state change of bundle X. This however would create a tight coupling between B and X, which you generally would like to avoid.
After uninstall of X, B should still be able to load classes from X. ServiceTracker should be used to act upon the unregistered services from X, but this would apply to bundleX.stop() as well.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268431#4268431
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268431
More information about the jboss-dev-forums
mailing list