Hi Jukka,
please note that NamespaceCache is not about caching namespace mappings in a
session, but caching the mapping on a repository service level.
see: https://issues.apache.org/jira/browse/JCR-1020
it was an attempt to reduce the cost of creating a session and to reduce the
amount of redundant information that is transfered to a client.
regards
marcel
[EMAIL PROTECTED] wrote:
Author: jukka
Date: Mon May 12 10:32:25 2008
New Revision: 655573
URL: http://svn.apache.org/viewvc?rev=655573&view=rev
Log:
JCR-1564: JSR 283 namespace handling
- Removed caching and listening of namespace registry in jcr2spi
as AbstractSession already caches namespaces and JSR 283 removes
the need to notify sessions about global namespace remappings
Removed:
jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/name/NamespaceCache.java
Modified:
jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/WorkspaceManager.java
jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/name/NamespaceRegistryImpl.java