Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 89076 invoked from network); 25 Jul 2008 12:37:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Jul 2008 12:37:53 -0000 Received: (qmail 55485 invoked by uid 500); 25 Jul 2008 12:37:52 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 55451 invoked by uid 500); 25 Jul 2008 12:37:51 -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 55440 invoked by uid 99); 25 Jul 2008 12:37:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Jul 2008 05:37:51 -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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Jul 2008 12:37:05 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id AD9F2234C180 for ; Fri, 25 Jul 2008 05:37:31 -0700 (PDT) Message-ID: <1763037724.1216989451710.JavaMail.jira@brutus> Date: Fri, 25 Jul 2008 05:37:31 -0700 (PDT) From: "Jukka Zitting (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Commented: (JCR-1672) Adding Event interface and isLocal() In-Reply-To: <1937408692.1215455791757.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JCR-1672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12616877#action_12616877 ] Jukka Zitting commented on JCR-1672: ------------------------------------ Also, I reverted the original patch (revision 677261, the LocalEventListener interface) in revision 679750. We can reintroduce the interface once we can leverage the extra information it gives to the observation manager, but until that it's better to avoid having two different mechanisms for the same functionality. > Adding Event interface and isLocal() > ------------------------------------ > > Key: JCR-1672 > URL: https://issues.apache.org/jira/browse/JCR-1672 > Project: Jackrabbit > Issue Type: Improvement > Components: jackrabbit-api, jackrabbit-core > Affects Versions: 1.4 > Reporter: Carsten Ziegeler > Fix For: 1.5 > > Attachments: jackrabbit.patch, localeventlistener.patch > > > when a repository cluster is used, it seems that a common problem many people have is to detect if an observation event is send because of changes on the local instance or a remote instance of the cluster. > This is especially important if you want to do post processing of data > based on observation (the post processing should only be done by one instance in the cluster). > A current solution is to cast the jcr event object to the EventImpl of jackrabbit core which is obviously not a nice solution :) > So what about adding an event interface to jackrabbit api which extends the jcr event interface and adds the isLocal() method? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.