Hi, The OSGi CDI spec was never approved as the champion pushing the spec withdrew. At the time People here at OPS4j worked on a CDI implementation which should follow that spec. That's Pax CDI, but as the spec was never approved that's basically it. Though it's functional working. Besides, the latest CDI 2 specification was supposed to be also used for a new try to have a OSGi CDI specification. AFAIK Apache Aries tries to be the home of it. That's for the CDI stuff, if you are looking for just injection of other Services, I'd go with DS.
regards, Achim 2017-08-08 3:34 GMT+02:00 Matt Sicker <[email protected]>: > I'm not so sure about deprecated, but DS is the only dependency injection > standard in OSGi that respects the dynamic nature of services. CDI, > blueprint, etc., all have to rely on hacky proxies to emulate support while > adding nonstandard extensions at times. > > On 7 August 2017 at 17:02, <[email protected]> wrote: > >> I posted this to the Karaf forum but it may more appropriately belong >> here. It's going to be one or the other. >> >> Has CDI been deprecated from the OSGi specification. I was hoping to use >> it in the future instead of Blueprint or DS or in addition to them. I re >> all last year a new OSGi service export and reference annotations were >> added. So this surprised me a bit. >> >> https://issues.apache.org/jira/browse/CAMEL-11029 >> >> According to that issue, Camel's CDI support for OSGi doesn't work >> because CDI on OSGi is deprecated. >> >> -- >> -- >> ------------------ >> OPS4J - http://www.ops4j.org - [email protected] >> >> --- >> You received this message because you are subscribed to the Google Groups >> "OPS4J" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Matt Sicker <[email protected]> > > -- > -- > ------------------ > OPS4J - http://www.ops4j.org - [email protected] > > --- > You received this message because you are subscribed to the Google Groups > "OPS4J" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- Apache Member Apache Karaf <http://karaf.apache.org/> Committer & PMC OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & Project Lead blog <http://notizblog.nierbeck.de/> Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS> Software Architect / Project Manager / Scrum Master -- -- ------------------ OPS4J - http://www.ops4j.org - [email protected] --- You received this message because you are subscribed to the Google Groups "OPS4J" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
