You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by keal <kl...@gmail.com> on 2019/05/27 22:03:31 UTC

PAX-CDI producer as OSGI service

Hi there,

Does anyone have experience using pax-cdi?
Is there any way to expose as a OSGI Service a CDI producer?

pax-cdi version 0.5.0 had a @OsgiServiceProvider annotation, but on current
version was removed.

Unfortunately, pax-cdi docs are not up to date (
https://github.com/ops4j/org.ops4j.pax.cdi/blob/master/pax-cdi-manual/src/main/asciidoc/index.adoc#jboss-weld
),
any help is welcome.

Thanks!

Re: PAX-CDI producer as OSGI service

Posted by Christian Schneider <ch...@die-schneider.net>.
You can also take a look at Aries CDI and the OSGi CDI spec.

https://github.com/apache/aries-cdi
https://osgi.org/specification/osgi.enterprise/7.0.0/service.cdi.html

Christian

Am Di., 28. Mai 2019 um 00:03 Uhr schrieb keal <kl...@gmail.com>:

> Hi there,
>
> Does anyone have experience using pax-cdi?
> Is there any way to expose as a OSGI Service a CDI producer?
>
> pax-cdi version 0.5.0 had a @OsgiServiceProvider annotation, but on
> current version was removed.
>
> Unfortunately, pax-cdi docs are not up to date (
> https://github.com/ops4j/org.ops4j.pax.cdi/blob/master/pax-cdi-manual/src/main/asciidoc/index.adoc#jboss-weld
> ),
> any help is welcome.
>
> Thanks!
>


-- 
-- 
Christian Schneider
http://www.liquid-reality.de

Computer Scientist
http://www.adobe.com