[
https://issues.apache.org/jira/browse/FELIX-3740?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13485632#comment-13485632
]
Felix Meschberger commented on FELIX-3740:
------------------------------------------
Committed consolidated MetaTypeProvider tracker in Rev. 1403000
> 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
> 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