Results 1 to 2 of 2

Thread: Spring-OSGi: custom spring-osgi-extender

Hybrid View

  1. #1
    Join Date
    Oct 2007
    Posts
    1

    Default Spring-OSGi: custom spring-osgi-extender

    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, ...).

    Any thoughts on this?

    Thanks,
    -rico

  2. #2
    Join Date
    Jan 2005
    Location
    Bucharest, Romania
    Posts
    5,403

    Default

    Rico if you still have this problem, see the 1.1 M1 release and its documentation:
    http://static.springframework.org/os...eference/html/
    In 1.1 the osgi extender can be customized including context creation.

    Hope this helps,
    Costin Leau
    SpringSource - http://www.SpringSource.com- Spring Training, Consulting, and Support - "From the Source"
    http://twitter.com/costinl
    Please use [ c o d e ] [ / c o d e ] tags

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •