[PATCH] Add a convenience clear() method on DependencyManager
-------------------------------------------------------------
Key: FELIX-3042
URL: https://issues.apache.org/jira/browse/FELIX-3042
Project: Felix
Issue Type: Improvement
Components: Dependency Manager
Reporter: Jeremias Maerki
Priority: Minor
Attachments: dependencymanager-clear-patch.diff
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.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira