You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Marcel Offermans (Assigned) (JIRA)" <ji...@apache.org> on 2011/11/16 07:26:51 UTC
[jira] [Assigned] (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 ]
Marcel Offermans reassigned FELIX-3042:
---------------------------------------
Assignee: Marcel Offermans
> [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
> Assignee: Marcel Offermans
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira