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] [Resolved] (FELIX-3740) Maintain the MetaTypeProvider service tracker on the MetaTypeService
Date Mon, 29 Oct 2012 10:25:12 GMT

     [ https://issues.apache.org/jira/browse/FELIX-3740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Felix Meschberger resolved FELIX-3740.

    Resolution: Fixed
      Assignee: Felix Meschberger

Implemented a single ServiceTracker for ManagedService[Factory] services instread of tracking
the services in each MetaTypeInformationImpl object in Rev. r1403227. Now the MetaTypeInformationImpl
objects are just data containers and are not linked to service tracking and registered in
the framework. This also reduces the number of service listeners.

In Rev. r1403229 streamline the trackers for ManagedService[Factory] and MetaTypeProvider
to align and simplify them.

This resolves this issue.
> Maintain the MetaTypeProvider service tracker on the MetaTypeService
> --------------------------------------------------------------------
>                 Key: FELIX-3740
>                 URL: https://issues.apache.org/jira/browse/FELIX-3740
>             Project: Felix
>          Issue Type: Improvement
>          Components: Metatype Service
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For:  metatype-1.0.6
> As of FELIX-3184 support for MetaTypeProvider service has been added with a MetaTypeProviderTracker
service tracker. This is so far created and started for each MetaTypeInformationImpl instance.
This makes cleanup of the tracker hard.
> Instead this tracker should be maintained on the MetaTypeServiceImpl and respective MetaTypeProvider
services injected into the MetaTypeInformationImpl objects handed out by the service.
> Likewise, the ManagedService[Factory] services implementing the MetaTypeProvider interface
should be tracked in the MetaTypeServiceImpl rather than in the ServiceMetaTypeInformation
objects. The trick here is to only provide such MetaTypeProviders to MetaTypeInformationImpl
objects not reading meta type information from descriptors.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message