cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "nicolas de loof" <nico...@apache.org>
Subject Re: some ResourceInjector errors in my log
Date Thu, 15 May 2008 17:58:16 GMT
2008/5/15 Daniel Kulp <dkulp@apache.org>:

>
> On May 15, 2008, at 6:16 AM, nicolas de loof wrote:
>
>   Hello,
>>
>> my web service implementation is configured as a spring bean :
>> <jaxws:endpoint implementor="#service" .../>
>>
>> Spring injects my dependencies in fields annotated with @Resource. CXF
>> also
>> tries, and I get some errors in log :
>>
>> 2008-05-15 11:59:12,752 : ResourceInjector.visitField : failed to resolve
>> resource
>>
>> com.capgemini.tpal.webservices.ServicesConsultation.ServicesConsultationSimple/tablerefDAO
>>
>> Can I disable CXF @Resource support ?
>>
>
> No.   Per JAX-WS spec, we have to process them.  Plus, a LOT of cxf is
> wired together with the @Resource and @PostConstruct annotations.  Without
> those being processed, I think a ton of stuff would break.
>


Right, so how can i configure CXF to use my spring context as source for
@Resource injection ?




>
>
> ---
> Daniel Kulp
> dkulp@apache.org
> http://www.dankulp.com/blog
>
>
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message