Did you checkout Declarative Services?
Kind regards,
Peter Kriens
> On 21 okt. 2015, at 22:47, Leschke, Scott <[email protected]> wrote:
>
> I will do that. Thanks. I was interested in the Blueprint/XML route mostly
> because I’m reasonably familiar with Blueprint and I think it would be
> interesting if you could get some of the other aspects of Blueprint, like
> service proxies, in a bit more dynamic fashion.
>
> Scott
>
> From: [email protected] [mailto:[email protected]]
> On Behalf Of Arjun Panday
> Sent: Wednesday, October 21, 2015 3:33 PM
> To: OSGi Developer Mail List <[email protected]>
> Subject: Re: [osgi-dev] Is it possible to define services programatically
> using the blueprint container
>
> Hi Scott,
>
> Have a look at Felix's DependencyManager
> (http://felix.apache.org/documentation/subprojects/apache-felix-dependency-manager.html
>
> <http://felix.apache.org/documentation/subprojects/apache-felix-dependency-manager.html>).
>
> You don't feed it XML (yuck) but it has a very nice declarative API with
> which you can build pretty much any programatic scenario you can think of.
>
> /arjun
>
> On Wed, Oct 21, 2015 at 6:08 PM, Leschke, Scott <[email protected]
> <mailto:[email protected]>> wrote:
> Looking at the container API it appears that it’s possible to get hold of the
> container service and query it but it doesn’t look like it’s possible to
> actually feed it XML and have it create and register services at runtime. Am
> I correct in this assessment?
>
> Scott
>
> _______________________________________________
> OSGi Developer Mail List
> [email protected] <mailto:[email protected]>
> https://mail.osgi.org/mailman/listinfo/osgi-dev
> <https://mail.osgi.org/mailman/listinfo/osgi-dev>
>
> _______________________________________________
> OSGi Developer Mail List
> [email protected]
> https://mail.osgi.org/mailman/listinfo/osgi-dev
_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev