Return-Path: X-Original-To: apmail-cxf-users-archive@www.apache.org Delivered-To: apmail-cxf-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5CD7BCF8C for ; Wed, 23 May 2012 13:14:55 +0000 (UTC) Received: (qmail 43909 invoked by uid 500); 23 May 2012 13:14:54 -0000 Delivered-To: apmail-cxf-users-archive@cxf.apache.org Received: (qmail 43813 invoked by uid 500); 23 May 2012 13:14:53 -0000 Mailing-List: contact users-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cxf.apache.org Delivered-To: mailing list users@cxf.apache.org Received: (qmail 43800 invoked by uid 99); 23 May 2012 13:14:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 May 2012 13:14:53 +0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of chris.eineke@ek3.com does not designate 216.139.236.26 as permitted sender) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 May 2012 13:14:48 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1SXBOV-0005D1-N4 for users@cxf.apache.org; Wed, 23 May 2012 06:14:27 -0700 Date: Wed, 23 May 2012 06:14:27 -0700 (PDT) From: ceineke To: users@cxf.apache.org Message-ID: <1337778867705-5708382.post@n5.nabble.com> In-Reply-To: <4FBC061B.4010906@gmail.com> References: <1337192731818-5707988.post@n5.nabble.com> <4FB40779.4010607@gmail.com> <1337374844976-5708116.post@n5.nabble.com> <4FB92D4E.1020003@gmail.com> <1337718603517-5708309.post@n5.nabble.com> <4FBC061B.4010906@gmail.com> Subject: Re: UriInfo is not injected MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Sergey Beryozkin-5 wrote > > The best way to get a UriInfo ref injected into a Mapper instance is to > do mapper.setUriInfo(uriInfo) from within Service.setUriInfo method. I > believe that by the time Service.setUriInfo is called the Service > instance has been completely initialized by Spring > Definitely not the cleanest solution, but I'll take that offer for now. :-) Could I write a request listener that autowire's a list of beans that implement UriInfoInjectable and do the injection myself? -- View this message in context: http://cxf.547215.n5.nabble.com/UriInfo-is-not-injected-tp5707988p5708382.html Sent from the cxf-user mailing list archive at Nabble.com.