"alesj" wrote : "adrian(a)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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...