cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <dk...@apache.org>
Subject Re: Spring DI into a SOAPHandler
Date Thu, 23 Oct 2008 21:19:37 GMT
On Wednesday 22 October 2008 3:03:39 pm sistar wrote:
> Hi,
> is there any elegant way to inject dependencies into a
> javax.xml.ws.handler.soap.SOAPHandler which is configured in the handler
> chain.
>
> (@Configurable and AspectJ are just to heavyweight and cause any kinds of
> trouble.)
>
> Cheers Ralf
>
> Ralf Sigmund

You should be able to use @Resource annotations on the handlers.   If the 
name="...." matches a bean defined in your spring file, it should be picked 
up.

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

Mime
View raw message