Btw, reading your initial email, I want to mention I've been working on a
blueprint extension to support Spring-DM.  It's not complete yet, but it
may already cover your use case.
So the blueprint-spring bundle provides an Blueprint Aries NamespaceHandler
that support the spring core namespace.  With this bundle only, you need to
provide a blueprint entry point (i.e. a blueprint xml at the correct
location in your bundle) which can either embed spring bean definitions, or
even import spring xmls.
An additional module, blueprint-spring-extender, provides a Spring-DM like
extender, i.e. it will scan META-INF/spring/*.xml (or whatever is
configured in the Spring-Context header) and create an blueprint container
for it.
That's totally separate from the problem with bndtools, but worth
mentioning ;-)

https://github.com/apache/aries/tree/trunk/blueprint/blueprint-spring
https://github.com/apache/aries/tree/trunk/blueprint/blueprint-spring-extender

Cheers,
Guillaume

2015-11-25 15:41 GMT+01:00 deadbrain <[email protected]>:

> Hi all  Karaf gurus,
> just a little question dealing with BndTools, I am supposed to refactor
> an existing Spring DM application into an OSGi + Blueprint application
> to be deployed inside ServiceMix (3.4 or 4). As a consequence I would
> like to use Bndtools but launching Karaf rather than the defaut Gogo
> shell would be more convenient.
>  What is the best way to do that ?
> I am supposed to write or reuse an ApplicationFactory ? I found a couple
> of implementations in github (ready to use ?)
> Is there any other  valuable option?
>
> Kind regards
> Jerome
>

Reply via email to