You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Radu Cotescu (Jira)" <ji...@apache.org> on 2021/08/02 16:13:00 UTC
[jira] [Created] (SLING-10697) Make the ScriptContextProvider use
the ServiceCache
Radu Cotescu created SLING-10697:
------------------------------------
Summary: Make the ScriptContextProvider use the ServiceCache
Key: SLING-10697
URL: https://issues.apache.org/jira/browse/SLING-10697
Project: Sling
Issue Type: Bug
Components: Scripting
Reporter: Radu Cotescu
Assignee: Radu Cotescu
Fix For: Scripting Core 2.4.0
When using bundled scripts, the current implementation uses the {{ScriptHelper}} implementation that directly queries the service registry. However, SLING-1478 introduced the {{InternalScriptHelper}} which uses a {{ServiceCache}} that caches service registry lookups per {{BundleContext}}, which should be reused.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)