We have a little library we use called Eos to do ManagedServiceFactories
(ManagedService is a bit easier):


The "itest" module(s) have an example of how to wire it up using Blueprint:


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



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/)

Reply via email to