[jboss-dev-forums] [Design of OSGi Integration] - Re: BundleActivatorDeployer Questions
adrian@jboss.org
do-not-reply at jboss.com
Mon Feb 18 08:15:18 EST 2008
"alesj" wrote : "adrian at jboss.org" wrote :
| | There just needs to a REAL deployer that invokes the bundle activator.
| I like the current approach better.
| It gives users more flexibility on wiring the activator bean before starting it.
| e.g. they could annotate their activator class with our or custom IoC annotations and MC would configure the instance
|
I thought we were talking about the bundle?
The bundle should just control the deployment controller context.
If you want to create a kernel controller context for the bundle activator
that's a different issue. e.g. in "PRE-REAL" you could create the context
and make the deployment moving to REAL dependent on that "POJO".
But somebody who knows OSGi may get a bit confused
if they do Bundle.start() and it gives them an error saying I'm not
doing it because the IOC injections onto the activator aren't satisfied. ;-)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4130100#4130100
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4130100
More information about the jboss-dev-forums
mailing list