Re: Managed Service & Managed Service factory
We should definitely move them to the OSGi DS annotations. However, they are mostly the same if you rename the package. 2016-10-17 1:03 GMT+02:00 Krzysztof Sobkowiak : > Hi > > Are there any samples how to implement correctly the Managed Service and > Managed Service Factory / Component Factory using the OSGi Declarative > Services Annotations? Something like in https://github.com/apache/ > karaf/tree/master/scr/examples/managed-service and > https://github.com/apache/karaf/tree/master/scr/examples/component-factory > but using the org.osgi.service.component.annotations annotations. > > Btw. are there any samples how to do this correctly with Blueprint? > > Kindly regards > Krzysztof > > > > > -- > Krzysztof Sobkowiak (@ksobkowiak) > > JEE & OSS Architect, Integration Architect > Apache Software Foundation Member (http://apache.org/) > Apache ServiceMix Committer & PMC Member (http://servicemix.apache.org/) > Senior Solution Architect @ Capgemini SSC (http://www.capgeminisoftware. > pl/) > -- Guillaume Nodet Red Hat, Open Source Integration Email: gno...@redhat.com Web: http://fusesource.com Blog: http://gnodet.blogspot.com/
Re: Managed Service & Managed Service factory
This library drives completely factory driven systems, it is fun stuff to use. /je > On Oct 16, 2016, at 5:09 PM, James Carman wrote: > > We have a little library we use called Eos to do ManagedServiceFactories > (ManagedService is a bit easier): > > https://github.com/savoirtech/eos > > The "itest" module(s) have an example of how to wire it up using Blueprint: > > https://github.com/savoirtech/eos/blob/master/itest/bundle/src/main/resources/OSGI-INF/blueprint/itest-bundle.xml > > It's not well-documented at the moment, but it is in Maven Central, so > you're definitely welcome to it. There are also some nice superclasses for > dealing with the "whiteboard pattern" in there that we use all over the > place. > > Thanks, > > James > > > > On Sun, Oct 16, 2016 at 7:03 PM Krzysztof Sobkowiak < > krzys.sobkow...@gmail.com> wrote: > >> Hi >> >> Are there any samples how to implement correctly the Managed Service and >> Managed Service Factory / Component Factory using the OSGi Declarative >> Services Annotations? Something like in >> https://github.com/apache/karaf/tree/master/scr/examples/managed-service >> and >> https://github.com/apache/karaf/tree/master/scr/examples/component-factory >> but using the org.osgi.service.component.annotations annotations. >> >> Btw. are there any samples how to do this correctly with Blueprint? >> >> Kindly regards >> Krzysztof >> >> >> >> >> -- >> Krzysztof Sobkowiak (@ksobkowiak) >> >> JEE & OSS Architect, Integration Architect >> Apache Software Foundation Member (http://apache.org/) >> Apache ServiceMix Committer & PMC Member (http://servicemix.apache.org/) >> Senior Solution Architect @ Capgemini SSC ( >> http://www.capgeminisoftware.pl/) >>
Re: Managed Service & Managed Service factory
We have a little library we use called Eos to do ManagedServiceFactories (ManagedService is a bit easier): https://github.com/savoirtech/eos The "itest" module(s) have an example of how to wire it up using Blueprint: https://github.com/savoirtech/eos/blob/master/itest/bundle/src/main/resources/OSGI-INF/blueprint/itest-bundle.xml It's not well-documented at the moment, but it is in Maven Central, so you're definitely welcome to it. There are also some nice superclasses for dealing with the "whiteboard pattern" in there that we use all over the place. Thanks, James On Sun, Oct 16, 2016 at 7:03 PM Krzysztof Sobkowiak < krzys.sobkow...@gmail.com> wrote: > Hi > > Are there any samples how to implement correctly the Managed Service and > Managed Service Factory / Component Factory using the OSGi Declarative > Services Annotations? Something like in > https://github.com/apache/karaf/tree/master/scr/examples/managed-service > and > https://github.com/apache/karaf/tree/master/scr/examples/component-factory > but using the org.osgi.service.component.annotations annotations. > > Btw. are there any samples how to do this correctly with Blueprint? > > Kindly regards > Krzysztof > > > > > -- > Krzysztof Sobkowiak (@ksobkowiak) > > JEE & OSS Architect, Integration Architect > Apache Software Foundation Member (http://apache.org/) > Apache ServiceMix Committer & PMC Member (http://servicemix.apache.org/) > Senior Solution Architect @ Capgemini SSC ( > http://www.capgeminisoftware.pl/) >
Managed Service & Managed Service factory
Hi Are there any samples how to implement correctly the Managed Service and Managed Service Factory / Component Factory using the OSGi Declarative Services Annotations? Something like in https://github.com/apache/karaf/tree/master/scr/examples/managed-service and https://github.com/apache/karaf/tree/master/scr/examples/component-factory but using the org.osgi.service.component.annotations annotations. Btw. are there any samples how to do this correctly with Blueprint? Kindly regards Krzysztof -- Krzysztof Sobkowiak (@ksobkowiak) JEE & OSS Architect, Integration Architect Apache Software Foundation Member (http://apache.org/) Apache ServiceMix Committer & PMC Member (http://servicemix.apache.org/) Senior Solution Architect @ Capgemini SSC (http://www.capgeminisoftware.pl/)