[jboss-dev-forums] [Design of OSGi Integration] - Re: JBOSGI-38 and bundle deployment order

alesj do-not-reply at jboss.com
Tue Mar 3 10:07:03 EST 2009


"thomas.diesler at jboss.com" wrote : 
  | The ResolvedBundleDependencyItem would probably not fix that, because deployment of A would already fail - if I understand this correctly.
  | 
No, it would work.
Or, why do you think it would fail?

When X gets installed, the framework knows A can be resolved.
e.g.
* POST_PARSE: install X (this makes A resolved)
* pre CLASSLOADER: asking RBDI if A can be resolved == true --> move to CL --> move to start/stop bundle deployer

It's the RBDI that should use PackageAdmin.
Or actually, one of the DI impls that we add in BundleClassLoaderDependencyDeployer would use it.
Like stated here:
"alesj" wrote : 
  | e.g. BundleClassLoaderDependencyDeployer::createResolveDependencyItem() could return diff DI instance based on what is available 
  | 

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4214561#4214561

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4214561



More information about the jboss-dev-forums mailing list