Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 38955 invoked from network); 29 Feb 2008 12:44:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Feb 2008 12:44:43 -0000 Received: (qmail 30062 invoked by uid 500); 29 Feb 2008 12:44:35 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 30039 invoked by uid 500); 29 Feb 2008 12:44:35 -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 30022 invoked by uid 99); 29 Feb 2008 12:44:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Feb 2008 04:44:34 -0800 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 aklimets@day.com designates 62.192.10.254 as permitted sender) Received: from [62.192.10.254] (HELO goobak01.day.com) (62.192.10.254) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Feb 2008 12:43:47 +0000 Received: by goobak01.day.com (Postfix, from userid 1212) id 0C83750865; Fri, 29 Feb 2008 13:34:09 +0100 (CET) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.152]) by goobak01.day.com (Postfix) with ESMTP id AB36550860 for ; Fri, 29 Feb 2008 13:34:08 +0100 (CET) Received: by fg-out-1718.google.com with SMTP id e12so2834815fga.1 for ; Fri, 29 Feb 2008 04:44:06 -0800 (PST) Received: by 10.86.53.8 with SMTP id b8mr10425764fga.32.1204289046082; Fri, 29 Feb 2008 04:44:06 -0800 (PST) Received: from ?192.168.0.105? ( [88.73.118.172]) by mx.google.com with ESMTPS id 13sm17470569fks.8.2008.02.29.04.44.04 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 29 Feb 2008 04:44:05 -0800 (PST) Message-Id: <289BEA33-D0C9-4D46-B374-446052702B34@day.com> To: dev@jackrabbit.apache.org In-Reply-To: <90a8d1c00802290411o2976042di47616d07b49bbafd@mail.gmail.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Subject: Re: [jira] Commented: (JCR-1428) Add API for selective bundle consistency check (Jackrabbit-specific) Date: Fri, 29 Feb 2008 13:44:03 +0100 References: <2046758230.1204115391061.JavaMail.jira@brutus> <1851945398.1204285611616.JavaMail.jira@brutus> <90a8d1c00802290411o2976042di47616d07b49bbafd@mail.gmail.com> X-Mailer: Apple Mail (2.919.2) From: Alexander Klimetschek X-Virus-Checked: Checked by ClamAV on apache.org Am 29.02.2008 um 13:11 schrieb Stefan Guggisberg: > huh? o.a.j.c.WorkspaceImpl implements the javax.jcr.Workspace > interface. seems pretty obvious to me ;) > what's confusing you WRT the naming? Well, it's probably due to the API. The concept of a workspace is represented by WorkspaceInfo, the interface Workspace and WorkspaceImpl only represent a per-session view on the workspace. Same goes with TransientRepository vs. RepositoryImpl, where you have this inequality: Repository rep = new TransientRepository(config, home); Session session = rep.login(); assertEquals(rep, session.getRepository()); // fails >> junit.framework.AssertionFailedError: expected: but was: And all those ItemState stuff (no conceptual problems, but one doesn't know what is used and what not)... Just confusing for the beginner. I expected the main implementation details to be about the hierarchy handling, but instead it is about the transient (session) part working together with the persistence backend. Ok, enough rant, you did a great job with such a completely new database model! Alex -- Alexander Klimetschek alexander.klimetschek@day.com