Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-4312

Register an osgi service for each available service user

    XMLWordPrintableJSON

Details

    Description

      In order to only activate osgi components when a service user mapping is available it would be useful to have an osgi service registered for a service user. A component can reference the registered service name and only start when that becomes available.

      @Reference(target="(name=serviceName)")
      ServiceUserExists userExists;
      

      Attachments

        1. SLING-4312.1.diff
          28 kB
          Marius Petria
        2. SLING-4312.diff
          19 kB
          Marius Petria

        Activity

          People

            mpetria Marius Petria
            mpetria Marius Petria
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: