Results 1 to 2 of 2

Thread: Filtering bundles in Spring DM extender

  1. #1
    Join Date
    Oct 2009
    Posts
    1

    Default Filtering bundles in Spring DM extender

    Hi all,

    Our team is developing an Eclipse RCP application that uses Spring DM to manage dependency injection. One of the issue we have is performance, where Spring DM extender tries to scan a large number of bundles during startup (about 100+ bundles need to be activated initially). Out of 400 bundles in our Eclipse RCP application, we only enable few bundles with Spring. I wonder if this is possible to configure the extender, so that most of the Eclipse bundles don't get scan by the extender during startup? Thank you for your attention.

    Tony.

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

    Default

    Hi Tony,

    Currently, there's no support for restrictive scanning in Spring DM. This has been requested before so we might revise adding support for it. Note that this is a generic problem in OSGi with regards to the extender pattern - one cannot detect whether a bundle is of interest w/o looking at it.
    I know there's a spec discussed in the OSGi Alliance about multiple extenders and extender improvements. Could you please raise an issue with your requirements so we can track progress in there?
    I'll have to double check the spec progress and scope to see whether this addresses your issues or not.

    Thanks
    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

Tags for this Thread

Posting Permissions

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