Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-10458

Backport 10425 to 10.2 - Support service registration with additional interfaces

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: services-2.2.1
    • Component/s: services-api
    • Labels:
      None
    • Similar issues:
    • Processed by team:
      Platform
    • Sprint:
      Platform Sprint 138, Platform Sprint 140

      Description

      The current HippoServiceRegistration proxies the interface of named or singleton services.
      The proxy is used to set the ThreadContextClassLoader on invocation of the service.
      However, sometimes additional interfaces must be proxied, for example to allow access to additional methods not to be shared across web applications.

      Therefore another method will be added for registration of a service with an array of interface classes, all of which will be implemented by the proxy.
      The first interface class in the array will be used for service lookup.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jsheriff Junaidh Kadhar Sheriff
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: