Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-5534

Improve namespace handling

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • JCR Base 2.4.0
    • JCR
    • None

    Description

      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

      Attachments

        1. patch.txt
          4 kB
          Carsten Ziegeler

        Issue Links

          Activity

            People

              cziegeler Carsten Ziegeler
              cziegeler Carsten Ziegeler
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: