Uploaded image for project: 'Aries'
  1. Aries
  2. ARIES-343

AbstractServiceRegistryContext caches BundleContexts inappropriately

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • 0.2
    • 0.2
    • JNDI
    • None

    Description

      We've recently made a change to AbstractServiceRegistryContext so that it gets passed a BundleContext on construction and caches it. This creates problems down the line because utility bundles will end up using their own bundle context for lookups instead of the context of the calling bundle. I've seen this behaviour in calls to ServiceHelper.findService().

      Attachments

        Activity

          People

            Unassigned Unassigned
            cumminsh@uk.ibm.com Holly Cummins
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: