Return-Path: X-Original-To: apmail-jackrabbit-oak-dev-archive@minotaur.apache.org Delivered-To: apmail-jackrabbit-oak-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8B9229109 for ; Mon, 7 May 2012 16:28:51 +0000 (UTC) Received: (qmail 43449 invoked by uid 500); 7 May 2012 16:28:51 -0000 Delivered-To: apmail-jackrabbit-oak-dev-archive@jackrabbit.apache.org Received: (qmail 43414 invoked by uid 500); 7 May 2012 16:28:51 -0000 Mailing-List: contact oak-dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: oak-dev@jackrabbit.apache.org Delivered-To: mailing list oak-dev@jackrabbit.apache.org Received: (qmail 43405 invoked by uid 99); 7 May 2012 16:28:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 May 2012 16:28:51 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jukka.zitting@gmail.com designates 74.125.82.170 as permitted sender) Received: from [74.125.82.170] (HELO mail-we0-f170.google.com) (74.125.82.170) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 May 2012 16:28:45 +0000 Received: by werp12 with SMTP id p12so2066011wer.1 for ; Mon, 07 May 2012 09:28:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=FQ6NqOSgck/Q9LH57XFcu9ueKxk8N9MStBrJ2u8DtR4=; b=F+bwZim6lwwsS5IaH4xEJjYUQvVY4/pjGMZhnZ884iRZTaBl+dDHrO9rupAvb9dD/O fz8iX3DmJ+QtkelbCo9B8Fds0D8NDjuyIhvkO2KcTdCrWcc5Lz8C5ftiCGNp5jXcyAx0 hpgCefKn2CvMkw+8xMCYf93oA0dK4EaUemrgQz3e7z+6G8EsScq5x4Mj3vVNmLDpq2go 1cUAEaq5DEpGz1OMa1/HkklD0SUkNMZXmyx6C+etQSjiVycUxae4WZ/H0rUYDSNYtbGV JbdKUfGIBeYG7aZGJVMob+sy6E/Ela9PCnOdIG0aRc+sbqohsNdufYw1fycbSKx4nG3q KwmA== Received: by 10.216.143.209 with SMTP id l59mr9945506wej.87.1336408104505; Mon, 07 May 2012 09:28:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.180.99.66 with HTTP; Mon, 7 May 2012 09:28:04 -0700 (PDT) In-Reply-To: <4FA7F558.7080004@gmx.de> References: <4FA7F558.7080004@gmx.de> From: Jukka Zitting Date: Mon, 7 May 2012 18:28:04 +0200 Message-ID: Subject: Re: delegates vs NodeTypeManager To: oak-dev@jackrabbit.apache.org Content-Type: text/plain; charset=ISO-8859-1 Hi, On Mon, May 7, 2012 at 6:16 PM, Julian Reschke wrote: > Would it make sense to split this into a JCR NodetypeManager and > a Delegate (and do the same for NodeType & frieds)? Yes, I think we should do that. However, I'd rather not build information about the /jcr:system/jcr:nodeTypes tree (or whichever location we use for storing types) into oak-jcr. Instead that code should IMO be located in an extra plugin that provides both the NodeTypeManager functionality to oak-jcr and the required commit validation functionality to oak-core. It's pretty rudimentary still, but I've started drafting o.a.j.oak.plugins as a location for such plugin components. Ultimately I think those may become their own Maven components, but for now it's easiest to keep them under .plugins in oak-core. BR, Jukka Zitting