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 2016/02/19 10:18:18 UTC
[jira] [Updated] (SLING-5534) Improve namespace handling
[ https://issues.apache.org/jira/browse/SLING-5534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler updated SLING-5534:
------------------------------------
Attachment: patch.txt
[~sseifert@pro-vision.de] This is a potential change which should apply the namespace immediately (I didn't remove the proxies in this patch yet). WDYT?
> Improve namespace handling
> --------------------------
>
> Key: SLING-5534
> URL: https://issues.apache.org/jira/browse/SLING-5534
> Project: Sling
> Issue Type: Improvement
> Components: JCR
> Reporter: Carsten Ziegeler
> Fix For: JCR Base 2.3.2
>
> Attachments: patch.txt
>
>
> Right now the namespace handling support requries a proxy of the session object (in order to have namespace handling for impersonated session).
> In addition for each new session, the mapping code is run, although it should only run once and register the namespaces in the registry.
> This should improve performance as we don't have to run the namespace handling code for each and every session and get rid of the proxy.
> The namespace registration itself gets a little more tricky, but basically we can directly change the registry whenever a bundle with a namespace header arrives. We just need to think about collition handling
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)