cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <dk...@apache.org>
Subject Re: some ResourceInjector errors in my log
Date Thu, 15 May 2008 15:55:21 GMT

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.


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





Mime
View raw message