Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 24277 invoked from network); 22 Jul 2008 09:31:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Jul 2008 09:31:57 -0000 Received: (qmail 33783 invoked by uid 500); 22 Jul 2008 09:31:56 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 33748 invoked by uid 500); 22 Jul 2008 09:31:56 -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 33737 invoked by uid 99); 22 Jul 2008 09:31:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Jul 2008 02:31:56 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.9] (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 22 Jul 2008 09:31:10 +0000 Received: (qmail 24044 invoked from network); 22 Jul 2008 09:31:35 -0000 Received: from localhost (HELO carsten-ziegelers-computer.local) (127.0.0.1) by localhost with SMTP; 22 Jul 2008 09:31:35 -0000 Message-ID: <4885A8F6.7030606@apache.org> Date: Tue, 22 Jul 2008 11:31:34 +0200 From: Carsten Ziegeler User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; de; rv:1.8.1.14) Gecko/20080421 Lightning/0.8 Thunderbird/2.0.0.14 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: dev@jackrabbit.apache.org Subject: Re: [RT] Adding event interface to jackrabbit api References: <486CCF28.4090301@apache.org> <48730270.6090500@apache.org> <487B024B.9040909@apache.org> <510143ac0807140137h57a7d931p276ae397f614c113@mail.gmail.com> <487C4EBF.1020209@apache.org> <510143ac0807150042u5bcc7edas391dd31496226639@mail.gmail.com> <487C5604.6080407@apache.org> <4884B59F.2040902@apache.org> <510143ac0807220151n471bac0bs48353492f75f38a@mail.gmail.com> <4885A40A.90004@apache.org> <510143ac0807220222s6ff94c64s846b9ba06b65509f@mail.gmail.com> In-Reply-To: <510143ac0807220222s6ff94c64s846b9ba06b65509f@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Jukka Zitting wrote: > Hi, > > On Tue, Jul 22, 2008 at 12:10 PM, Carsten Ziegeler wrote: >> In both cases I'm generating application events out of the observation >> events, like a page has changed event, removed etc. The post processing is >> actually done based on this application events, so if a page has changed, >> some action is started. Therefore my application events need to be marked as >> local as well. > > Ah, I see. Then I guess we really do need the isLocal() (or > isExternal() as suggested by Toby) method. > > Perhaps we should reopen JCR-1672 and revert the LocalEventListener > changes, as I'd rather not have two overlapping mechanisms for the > same functionality. > Hmm, yes, I guess that's the best - although the interface approach is a nicer way of handling this *if* you only need the local changes (it's easier to implement for a client and optimizes event notification a little bit). I'll come up with a patch. Carsten -- Carsten Ziegeler cziegeler@apache.org