Hi Charles

At this point we only support cdi in jee contexts, not non-jee osgi contexts.  
I think there's an osgi spec effort for cdi in osgi bundles.  Almost certainly 
our support will be limited to whatever either OWB or Aries comes up with.    
My own opinion on cross-bundle injection (from a year ago when I thought about 
it a little bit) is that it should be mediated by osgi services if it can be 
done at all.  I think this might involve extending the ideas of osgi services 
to more scopes, e.g. per-request instances and per-conversation instances 
beyond the current singleton and per-bundle scopes.

thanks
david jencks
 
On Jun 14, 2012, at 2:12 AM, Charles Moulliard wrote:

> Hi,
> 
> As Apache Geronimo platforms 3.X uses Apache Karaf and OSGI runtime, I would
> like to know if we can deploy on the platforms bundles and uses CDI
> injection. Do you also support to inject dependency in a bundle when a class
> has been packaged in another bundle ?
> 
> Regards,
> 
> Charles
> Apache Committer
> 
> --
> View this message in context: 
> http://apache-geronimo.328035.n3.nabble.com/CDI-OSGI-tp3985169.html
> Sent from the Users mailing list archive at Nabble.com.

  • CDI & OSGI Charles Moulliard
    • Re: CDI & OSGI David Jencks

Reply via email to