« Return to Thread: How to retrieve the spring context in Apache Karaf ?

Re: How to retrieve the spring context in Apache Karaf ?

by gnodet :: Rate this Message:

Reply to Author | View in Thread

Not sure what you mean.  If you create your own spring-dm powered
bundle, the application context will be exported as an OSGi service
(unless you configure your bundle to not do so).
You can access this object through the OSGi registry and manipulate it
as any other application context.

On Mon, Jun 22, 2009 at 12:16, Charles Moulliard<cmoulliard@...> wrote:

> Hi,
>
> I would like to know How I can retrieve the
> org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext
> published in an OSGI bundle (using Apache Karaf) ? Is there any helper class
> in karaf  that I use to have access to beans created by Spring ?
>
> Regards,
>
> Charles Moulliard
> Senior Enterprise Architect
> Apache Camel Committer
>
> *****************************
> blog : http://cmoulliard.blogspot.com
>



--
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...

 « Return to Thread: How to retrieve the spring context in Apache Karaf ?