Return-Path: X-Original-To: apmail-jackrabbit-dev-archive@www.apache.org Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8D61FF941 for ; Thu, 2 May 2013 09:44:17 +0000 (UTC) Received: (qmail 37014 invoked by uid 500); 2 May 2013 09:44:17 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 36755 invoked by uid 500); 2 May 2013 09:44:16 -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 36686 invoked by uid 99); 2 May 2013 09:44:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 May 2013 09:44:16 +0000 Date: Thu, 2 May 2013 09:44:16 +0000 (UTC) From: "Jukka Zitting (JIRA)" To: dev@jackrabbit.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (JCR-3586) NonExternalObservationListener marker interface MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Jukka Zitting created JCR-3586: ---------------------------------- Summary: NonExternalObservationListener marker interface Key: JCR-3586 URL: https://issues.apache.org/jira/browse/JCR-3586 Project: Jackrabbit Content Repository Issue Type: New Feature Components: jackrabbit-api Reporter: Jukka Zitting Priority: Minor It would be useful to have a marker interface like the following in the Jackrabbit API: interface NonExternalObservationListener extends ObservationListener { } The observation dispatcher could then avoid delivering any external events to that listener. For backwards compatibility such a listener should still use an "if (!event.isExternal()) { ... }" wrapper for event processing. That way the listener can avoid processing external events also when registered with an older repository that doesn't know about this marker interface. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira