Return-Path: Delivered-To: apmail-incubator-cxf-issues-archive@locus.apache.org Received: (qmail 32537 invoked from network); 27 Jul 2007 02:30:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Jul 2007 02:30:32 -0000 Received: (qmail 5471 invoked by uid 500); 27 Jul 2007 02:30:32 -0000 Delivered-To: apmail-incubator-cxf-issues-archive@incubator.apache.org Received: (qmail 5450 invoked by uid 500); 27 Jul 2007 02:30:32 -0000 Mailing-List: contact cxf-issues-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cxf-dev@incubator.apache.org Delivered-To: mailing list cxf-issues@incubator.apache.org Received: (qmail 5441 invoked by uid 99); 27 Jul 2007 02:30:32 -0000 Received: from Unknown (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jul 2007 19:30:32 -0700 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jeff.yu@iona.com designates 12.170.54.180 as permitted sender) Received: from [12.170.54.180] (HELO amer-mx1.iona.com) (12.170.54.180) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jul 2007 02:30:22 +0000 X-IronPort-AV: E=Sophos;i="4.16,586,1175486400"; d="scan'208";a="3477282" Received: from amer-ems1.ionaglobal.com ([10.65.6.25]) by amer-mx1.iona.com with ESMTP; 26 Jul 2007 22:30:01 -0400 Received: from [10.129.9.218] ([10.129.9.218]) by amer-ems1.IONAGLOBAL.COM with Microsoft SMTPSVC(6.0.3790.1830); Thu, 26 Jul 2007 22:29:59 -0400 Message-ID: <46A95872.6040504@iona.com> Date: Fri, 27 Jul 2007 10:29:06 +0800 From: "Jeff.Yu" User-Agent: Thunderbird 2.0.0.5 (Windows/20070716) MIME-Version: 1.0 To: cxf-issues@incubator.apache.org Subject: Re: [jira] Issue Comment Edited: (CXF-803) Configuring interceptors using annotations References: <23789695.1185454421230.JavaMail.jira@brutus> In-Reply-To: <23789695.1185454421230.JavaMail.jira@brutus> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 27 Jul 2007 02:30:00.0755 (UTC) FILETIME=[08107830:01C7CFF6] X-Virus-Checked: Checked by ClamAV on apache.org Hi, Glen What do you mean by changing constant from COULD_NOT_CREATE_ANNOTATION_INTERCEPOTR to xxxx_INTERCEPTOR, because in the initializeAnnotationObjects() method, it might be "InInterceptor, OutInterceptor,InFaultInterceptor, AbstractFeature" etc, and I don't think we need to specify it so detail within a quite generic method. BTW, I changed the COULD_NOT_CREATE_ANNOTATION_INTERCEPOTR to COULD_NOT_CREATE_ANNOTATION_OBJECT in last patch, since it might be FEATURES not INTERCEPTOR. Thanks Jeff Yu Glen Mazza (JIRA) wrote: > [ https://issues.apache.org/jira/browse/CXF-803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12515646 ] > > Glen Mazza edited comment on CXF-803 at 7/26/07 5:53 AM: > --------------------------------------------------------- > > Looks good! But will the committer of this patch please fix the constant in initializeAnnotationObjects() from COULD_NOT_CREATE_ANNOTATION_INTERCEPOTR to xxxx_INTERCEPTOR. > > Glen > > > > was: > Looks good! But please fix the constant in initializeAnnotationObjects() from COULD_NOT_CREATE_ANNOTATION_INTERCEPOTR to xxxx_INTERCEPTOR. > > Glen > > > >> Configuring interceptors using annotations >> ------------------------------------------ >> >> Key: CXF-803 >> URL: https://issues.apache.org/jira/browse/CXF-803 >> Project: CXF >> Issue Type: New Feature >> Components: Configuration >> Affects Versions: 2.0 >> Environment: All >> Reporter: Zarar Siddiqi >> Attachments: cxf-803-2.patch, cxf-803.patch >> >> >> It would be helpful to configure interceptors using annotations. CXF would benefit by having annotations similar to XFire's org.codehaus.xfire.annotations.InHandlers and org.codehaus.xfire.annotations.OutHandlers as it would allow specifying specific interceptors for service implementations. >> This issue came up on the mailing list: http://www.nabble.com/Configuring-interceptors-using-annotations-tf4097300.html >> Thanks, >> Zarar >> > >