Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-3506

SCR bind/unbind/update methods should be able to return a map of service properties like the activate/deactivate/modified methods.s

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • scr-1.6.0
    • scr-1.6.2
    • None

    Description

      cf FELIX-3377.

      The point of this feature is to let a component respond to changes in its environment by changing its service properties. One of the obvious environment changes is for a dynamic service to be bound or unbound while the component is active. Therefore we should extend the "return a map" style to the bind/unbind/updated method.

      A simple use case I thought of.... suppose you have a service with unsecured functionality and secured functionality and an optional dynamic reference to a security service. It could use the bind and unbind methods for the security service to indicate in its own service properties how much functionality was available.

      Attachments

        1. FELIX-3506.diff
          22 kB
          David Jencks

        Activity

          People

            fmeschbe Felix Meschberger
            djencks David Jencks
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: