This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.

Spring-OSGi: custom spring-osgi-extender

Oct 24th, 2007, 01:29 PM

Hi all,
I am playing around with the spring osgi integration and I managed to use the standard spring-osgi-extender to create services out of my configuration. The problem I am facing is that I have my own extension of spring and I want to enable them in the osgi environment.

It seems to me that there is no way of doing this unless I write another bundle that will replace the spring-osgi-extender.

I was wondering if I am missing something here, if maybe there is a way to hook my code into the spring-osgi-extender bundle and run my code to generate the application context, but keeping all the advantages of the standard extender (such as event listeners, ...).