cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <dk...@apache.org>
Subject Re: JAXWS 2.2 : Service.createDispatch with JAXBContext
Date Thu, 02 Sep 2010 13:43:56 GMT
On Thursday 02 September 2010 7:30:31 am Sergey Beryozkin wrote:
> That makes it much cleaner, see the commit I made. I thought passing the
> properties to DataReaders through parts was the only way.
> Regarding the thread safety : while trying to figure out how to pass the
> properties, I spotted a JAXB DataReaderImpl was checking an
> "honor.jaxb.annotations" property on a part and after finding that
> RpcInInterceptor sets this property on individual parts I ended up doing a
> similar thing. Just mentioning it in case we have a thread safety issue in
> RpcInInterceptor - but may be parts are created dynamically there

I'll take a look at the RpcInInterceptor.   It may be a relic from before we 
were sending the message into the Reader/Writers.   At one point, we didn't 
have the setProperty method on them and the only way to get information in was 
via the Part.


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

Mime
View raw message