Return-Path: Delivered-To: apmail-openejb-commits-archive@www.apache.org Received: (qmail 97741 invoked from network); 27 Dec 2007 09:58:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Dec 2007 09:58:19 -0000 Received: (qmail 97495 invoked by uid 500); 27 Dec 2007 09:58:01 -0000 Delivered-To: apmail-openejb-commits-archive@openejb.apache.org Received: (qmail 97469 invoked by uid 500); 27 Dec 2007 09:58:01 -0000 Mailing-List: contact commits-help@openejb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openejb.apache.org Delivered-To: mailing list commits@openejb.apache.org Received: (qmail 97407 invoked by uid 99); 27 Dec 2007 09:58:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Dec 2007 01:58:01 -0800 X-ASF-Spam-Status: No, hits=-99.8 required=10.0 tests=ALL_TRUSTED,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Dec 2007 09:57:39 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3C797714233 for ; Thu, 27 Dec 2007 01:57:43 -0800 (PST) Message-ID: <2524065.1198749463245.JavaMail.jira@brutus> Date: Thu, 27 Dec 2007 01:57:43 -0800 (PST) From: "Jacek Laskowski (JIRA)" To: commits@openejb.apache.org Subject: [jira] Updated: (OPENEJB-584) Method-level interceptors declared via annotations executed before method-level annotations declared via xml 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/OPENEJB-584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacek Laskowski updated OPENEJB-584: ------------------------------------ Component/s: (was: container system) interceptors > Method-level interceptors declared via annotations executed before method-level annotations declared via xml > ------------------------------------------------------------------------------------------------------------ > > Key: OPENEJB-584 > URL: https://issues.apache.org/jira/browse/OPENEJB-584 > Project: OpenEJB > Issue Type: Bug > Components: interceptors > Affects Versions: 3.0-beta-1 > Reporter: Prasad Kashyap > Fix For: 3.0-beta-2 > > > http://www.nabble.com/forum/ViewPost.jtp?post=9639756&framed=y&skin=2756 > Take 2 method-level interceptors; 1 defined using annotation and 1 specified in the DD. > I am able to verify that the binding from the annotation is added to a list (in the code) BEFORE the binding from the DD. > Yet, the interceptor from the annotation gets invoked AFTER the interceptor from the DD ! > Section 12.8.2 of the spec says, "When the deployment descriptor is used to augment the interceptors specified in annotations, the interceptor methods specified in the deployment descriptor will be invoked after those specified in annotations" > NOTE: The ordering works fine for class level interceptors. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.