Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 81629 invoked from network); 28 Apr 2008 11:07:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Apr 2008 11:07:50 -0000 Received: (qmail 70392 invoked by uid 500); 28 Apr 2008 11:07:50 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 70364 invoked by uid 500); 28 Apr 2008 11:07:50 -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 70353 invoked by uid 99); 28 Apr 2008 11:07:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Apr 2008 04:07:50 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jukka.zitting@gmail.com designates 209.85.200.171 as permitted sender) Received: from [209.85.200.171] (HELO wf-out-1314.google.com) (209.85.200.171) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Apr 2008 11:07:06 +0000 Received: by wf-out-1314.google.com with SMTP id 23so4639797wfg.13 for ; Mon, 28 Apr 2008 04:07:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=XV6qT9msDakIbF295rg2xwKxdM5ZHTJDUSeSTt5YTAQ=; b=enWphd/cPyf72HXubcnG+3zb/7Xa7ufDJbqp48jpj076xkiywV267tNQHnl0+yH3Vry3B/x9U3MXpwaS9PtEw2uImiAFULod3VcOuas6vdquLkOXat4D8G5MchsedgbYXaiv4aMSOVvZ+CVk4ZYhSFYZUFO4O1EhTB26776C6Rg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=fo7gLWTK/QCQ5APrLCDA3nCm0cbsamyhR9kIfoglqt/SG95tEHQsUmndBEyCRaAGl4OxaDSyeBVKjKVSTus/3dVYjPGeCaLab4shJa0g1rmBXlwTIjlrumMhxbz8Bg98CpOn24CbXKqcxE7O2RgWCG2MEZI94VAaN+19bnuiAK4= Received: by 10.142.191.2 with SMTP id o2mr2210109wff.209.1209380840283; Mon, 28 Apr 2008 04:07:20 -0700 (PDT) Received: by 10.142.126.3 with HTTP; Mon, 28 Apr 2008 04:07:20 -0700 (PDT) Message-ID: <510143ac0804280407v17c6d9d2w831241e87f6f0ba9@mail.gmail.com> Date: Mon, 28 Apr 2008 14:07:20 +0300 From: "Jukka Zitting" To: dev@jackrabbit.apache.org Subject: Re: remove JackrabbitRepository.shutdown() In-Reply-To: <91f3b2650804280325m7e313a64pdd5e3ebf893525b2@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <91f3b2650804280325m7e313a64pdd5e3ebf893525b2@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Hi, On Mon, Apr 28, 2008 at 1:25 PM, Thomas M=FCller w= rote: > - It is possible to write applications that work with Jackrabbit and > other implementations (for example Day CRX). But how many applications really need to shutdown the repository in the generic case? You need to do that *only* if you embed the repository, in which case you already are bound to a single implementation. IMHO, if we want to make the repository more manageable, I'd opt for a JMX MBean. > - JCRLog can work. When no interface is used, log files are incomplete > and re-running the log file fails. Does JCRLog need to cover the shutdown case? It doesn't cover repository startup. IMHO it only needs to cover the JCR API, and potentially the extensions in jackrabbit-api. BR, Jukka Zitting