[jboss-dev-forums] [Design of OSGi Integration] - Re: BundleActivatorDeployer Questions

alesj do-not-reply at jboss.com
Sun Feb 17 14:28:15 EST 2008


"johnbailey" wrote : 
  | Would it make sense to use the Deployer to instead create BeanMetaData for the Bundle itself and install it with the start and stop  applied to the Bundle, which will internally call the BundleActivator when the Bundle is started?   It also seems like the BundleActivator BundleContext should only live within the context of the Bundle and should not be available to any other Bundle or Kernel service.
  | 
Is there something in the spec that favors Bundle creation over BundleActivator?
We still need to hook the BundleContext instance with underlying VDF, and the deployers are the place to do that.

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

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



More information about the jboss-dev-forums mailing list