You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2012/11/20 12:01:05 UTC

[jira] [Closed] (FELIX-3740) Maintain the MetaTypeProvider service tracker on the MetaTypeService

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

Felix Meschberger closed FELIX-3740.
------------------------------------


Close after release
                
> 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