You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "pat-lego (via GitHub)" <gi...@apache.org> on 2026/10/02 17:36:14 UTC

Re: [PR] OSGiServiceInjector: cache service references and service objects instead of querying the service registry per injection [sling-org-apache-sling-models-impl]

pat-lego commented on PR #89:
URL: https://github.com/apache/sling-org-apache-sling-models-impl/pull/89#issuecomment-5957864002

   @joerghoh [this](https://github.com/apache/sling-org-apache-sling-scripting-core/blob/master/src/main/java/org/apache/sling/scripting/core/impl/ServiceCache.java) is basically what is needed here,  the better solution is to extract the Service Cache into its own bundle and then refactor sling scritpint to use the ServiceCache from the newly refactored bundle and similarly here reference it in this Sling Models codebase as well. But this is a larger effort and would require someone who can create repositories on behalf of Sling project to do so. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@sling.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org