cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ceineke <chris.ein...@ek3.com>
Subject Re: UriInfo is not injected
Date Wed, 23 May 2012 13:14:27 GMT

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.

Mime
View raw message