The fundamental problem is that a BundleContext.installBundle() does not attempt to
resolve the just installed bundle. The information of whether a bundle can be resolved is
therefore not available when BundleContext.installBundle() returns.
Triggering the resolve process varies from framework to framework and in the simplest case
will probably boil down to
|
| boolean startResolve()
| {
| try
| {
| bundle.start()
| return true;
| }
| catch (BundleException ex)
| {
| return false;
| }
|
The above is no good however because it unintentionally starts the bundle.
I'll have a look at Felix hot deployment - they must have the same problem.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4214153#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...