You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2014/04/04 11:08:07 UTC

[jira] [Closed] (SLING-3347) Improve handling of features service reference

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

Carsten Ziegeler closed SLING-3347.
-----------------------------------


> Improve handling of features service reference
> ----------------------------------------------
>
>                 Key: SLING-3347
>                 URL: https://issues.apache.org/jira/browse/SLING-3347
>             Project: Sling
>          Issue Type: Improvement
>          Components: ResourceResolver
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: Resource Resolver 1.1.0
>
>
> Currently each access to the ResourceResolverFactoryActivator.getFeatures() method causes the service to be looked up in the Service Component Runtime. Even though this service is cached there, it involves some work to do this lookup.
> It would be better to reduce this lookup to the first use and then cache the reference to the Features object until a change happens, such as the Features service being unregistered.



--
This message was sent by Atlassian JIRA
(v6.2#6252)