[jboss-dev-forums] [Design of OSGi Integration] - Re: Runtime and bundle lifecycle/dependency resolution

thomas.diesler@jboss.com do-not-reply at jboss.com
Mon Mar 2 09:20:27 EST 2009


The PackageAdmin seems to be one of the core services provided by felix


  | [tdiesler at tddell default]$ find . -name *.jar | xargs grep PackageAdmin
  | Binary file ./deployers/osgi.deployer/org.apache.felix.framework.jar matches
  | Binary file ./deployers/osgi.deployer/org.osgi.core.jar matches
  | 

I'd suggest the BundleStartStopDeployer maintains a list of unresolved bundles and tries to resolve them before bundle.start() is attempted.

We could make PackageAdmin a required service without which BundleStartStopDeployer cannot start bundles automatically. 

Only if this approach fails I'd investigate (2) or (3)

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

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



More information about the jboss-dev-forums mailing list