You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Jeremias Maerki (JIRA)" <ji...@apache.org> on 2011/07/15 14:50:00 UTC
[jira] [Updated] (FELIX-3042) [PATCH] Add a convenience clear()
method on DependencyManager
[ https://issues.apache.org/jira/browse/FELIX-3042?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeremias Maerki updated FELIX-3042:
-----------------------------------
Attachment: dependencymanager-clear-patch.diff
> [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
> Labels: patch
> 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