Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
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?
Attachments
Issue Links
- is duplicated by
-
FELIX-6350 Use ServiceReference.adaptTo(ServiceReferenceDTO) if available
- Resolved
- links to