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

Ability to restrict ServiceRegistry and AddonRegistry services by version

XMLWordPrintable

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

      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)

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

                Created:
                Updated:
                Resolved: