hk2
  1. hk2
  2. HK2-100

core populates service locator on installation, should populate on RESOLVED

    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

      A bundle is only wired up to all of its required dependencies when it has achieved the state RESOLVED. However, the current code will add services into hk2 when a bundle achieves the INSTALLED state. This implies that a bundle that is installed, but which will not get resolved (perhaps because it is missing a required import) will still add its services to hk2, even though those services can not be accessed. This code should change to add services only when the bundle becomes RESOLVED.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            mtaube
            Reporter:
            jwells
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: