Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-3740

Maintain the MetaTypeProvider service tracker on the MetaTypeService

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • metatype-1.0.6
    • Metatype Service
    • None

    Description

      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.

      Attachments

        Activity

          People

            fmeschbe Felix Meschberger
            fmeschbe Felix Meschberger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: