You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Carsten Ziegeler (Jira)" <ji...@apache.org> on 2021/09/16 15:19:00 UTC

[jira] [Assigned] (FELIX-6458) Use ServiceReference.adaptTo(ServiceReferenceDTO)

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

Carsten Ziegeler reassigned FELIX-6458:
---------------------------------------

    Assignee: Carsten Ziegeler

> Use ServiceReference.adaptTo(ServiceReferenceDTO)
> -------------------------------------------------
>
>                 Key: FELIX-6458
>                 URL: https://issues.apache.org/jira/browse/FELIX-6458
>             Project: Felix
>          Issue Type: Improvement
>          Components: Declarative Services (SCR)
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>            Priority: Major
>
> ServiceComponentRuntimeImpl currently maintains a cache per bundle (updated by bundle and service listeners) to have a performant way to create ServiceReferenceDTOs
> Since OSGi R8 , ServiceReference now supports adapting directly to a ServiceReferenceDTO which would avoid the whole cache.
> Downside is that we tie the implementation to R8 - I think this is fine for the R8 implementation of DS
> [~tjwatson] What do you think?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)