Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-770

Ability to restrict ServiceRegistry and AddonRegistry services by version

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • 2.0.0.Alpha7
    • 2.0.0.Alpha1
    • Furnace (Container)
    • None

    Description

      Like in OSGi (shudder,) when looking up services from the ServiceRegistry, it should be possible to require that services retrieved from the ServiceRegistry be locked to a specific addon API version (via addon-dependency/classloader mapping.)

      (A) -> (B, v1)
          -> Service 1
      
      (B, v2)
          -> Service 1v2
          -> Service 2v1
      

      A should receive only the instance of Service 1 from (B, v1)

      Attachments

        Activity

          People

            lincolnthree Lincoln Baxter III (Inactive)
            lincolnthree Lincoln Baxter III (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: