Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 11818 invoked from network); 13 May 2008 10:08:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 May 2008 10:08:00 -0000 Received: (qmail 26686 invoked by uid 500); 13 May 2008 10:08:01 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 26639 invoked by uid 500); 13 May 2008 10:08:00 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 26628 invoked by uid 99); 13 May 2008 10:08:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 May 2008 03:08:00 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of marcel.reutegger@gmx.net designates 213.165.64.20 as permitted sender) Received: from [213.165.64.20] (HELO mail.gmx.net) (213.165.64.20) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 13 May 2008 10:07:06 +0000 Received: (qmail invoked by alias); 13 May 2008 10:07:27 -0000 Received: from l2tp.day.com (EHLO [192.168.10.43]) [62.192.10.243] by mail.gmx.net (mp019) with SMTP; 13 May 2008 12:07:27 +0200 X-Authenticated: #894343 X-Provags-ID: V01U2FsdGVkX19T/45+CrdTi7CL/vzlLllCV2OF3UGU1qvrl70z9E /tvLZGa2iw+ORC Message-ID: <48296861.10700@gmx.net> Date: Tue, 13 May 2008 12:07:29 +0200 From: Marcel Reutegger User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: dev@jackrabbit.apache.org Subject: Re: svn commit: r655573 - in /jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi: WorkspaceManager.java name/NamespaceCache.java name/NamespaceRegistryImpl.java References: <20080512173225.F38EA2388A0C@eris.apache.org> In-Reply-To: <20080512173225.F38EA2388A0C@eris.apache.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Virus-Checked: Checked by ClamAV on apache.org 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 jukka@apache.org 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