hk2
  1. hk2
  2. HK2-85

Service locators modules are not updated

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.*
    • Fix Version/s: 2.1.*
    • Component/s: None
    • Labels:
      None

      Description

      It relates to HK2-82 also. In OSGi environment when using multiple service locator's (consider ctm-example), some service locator's modules are not updated.
      Because AbstractModulesRegistryImpl.populateServiceLocator wipes out previous serviceLocators when new is created with the same services descriptor name (e.g. default or tenant-scoped).
      Proposed fix is to keep list of service locators per name, see attached.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            mtaube
            Reporter:
            andriy.zhdanov
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: