felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Offermans (Assigned) (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (FELIX-3042) [PATCH] Add a convenience clear() method on DependencyManager
Date Wed, 16 Nov 2011 06:26:51 GMT

     [ 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


View raw message