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

Refactor helpers and service trackers

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • configadmin-1.4.0
    • configadmin-1.6.0
    • Configuration Admin
    • None

    Description

      The ConfigurationManager class currently hosts quite a number of inner classes to help with its tasks. A few of these classes have overlapping functionality which makes it hard to easily implement targeted PIDs these functionalities should be better aligned:

      • ManagedService[Factory]Tracker don't really get the services but maintain a map of PIDs and assigned
        configurations (most importantly the targeted PID and configuration modification counter)
      • ManagedService[Factory] callbacks are also executed by the tracker classes
      • The ManagedService[Factory]Helper classes are renamed to [Factory]ConfigurationHelper since
        they are helpers to convey configuration to ManagedService[Factory] services through the respective
        trackers.
      • The ServiceHolder class is replaced by the ConfigurationMap class managed by the trackers.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: