felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Meschberger (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FELIX-3577) Refactor helpers and service trackers
Date Wed, 04 Jul 2012 12:16:34 GMT

    [ https://issues.apache.org/jira/browse/FELIX-3577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13406468#comment-13406468
] 

Felix Meschberger commented on FELIX-3577:
------------------------------------------

Canalize all ManagedService[Factory] updates through the BaseTracker.*Configuration methods
in Rev. 1356645
  - move error handling to BaseTracker
  - improve service selection in BaseTracker.getServices for targeted PIDs
  - expose raw PID from TargetedPID
                
> Refactor helpers and service trackers
> -------------------------------------
>
>                 Key: FELIX-3577
>                 URL: https://issues.apache.org/jira/browse/FELIX-3577
>             Project: Felix
>          Issue Type: Improvement
>          Components: Configuration Admin
>    Affects Versions: configadmin-1.4.0
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: configadmin-1.6.0
>
>
> The ConfigurationManager class currently hosts quite a number of inner classes to help
with its tasks. A few of these classes have overlapping functionality which makes it hard
to easily implement targeted PIDs these functionalities should be better aligned:
>  * ManagedService[Factory]Tracker don't really get the services but maintain a map of
PIDs and assigned
>       configurations (most importantly the targeted PID and configuration modification
counter)
>  * ManagedService[Factory] callbacks are also executed by the tracker classes
>  * The ManagedService[Factory]Helper classes are renamed to [Factory]ConfigurationHelper
since
>        they are helpers to convey configuration to ManagedService[Factory] services through
the respective
>        trackers.
>  * The ServiceHolder class is replaced by the ConfigurationMap class managed by the trackers.

--
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

        

Mime
View raw message