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

[PATCH] Add a convenience clear() method on DependencyManager

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • None
    • Dependency Manager

    Description

      I recently stumbled over DependencyManager and immediately found it very nice to work with. I have some cases where I instantiate my own DependencyManagers (ex. one per monitored bundle in a SynchronousBundleListener). Now that I found myself copy/pasting a method that removes all components from a DependencyManager, I modified DM to add a clear() method on DependencyManager. Basically I moved the code from DependencyActivatorBase. I hope you find this patch useful.

      Attachments

        1. dependencymanager-clear-patch.diff
          3 kB
          Jeremias Maerki

        Activity

          People

            marrs Marcel Offermans
            jeremias@apache.org Jeremias Maerki
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: