On Friday 13 August 2010 12:02:30 pm Sergey Beryozkin wrote:
> thanks, Dan applied it

Yea.  I started trying to experiment to see if it would make sense to make the 
maps non-static, but I decided getting 2.2.10 out was more important.

What I was hoping to accomplish is to have the maps non-static so the 
JAXBElementProvider itself would hold onto them. Thus, if a war or something 
is undeployed, the JAXBElementProvider would hopefully get GC'd and the 
contexts cleared out and such.  However, that only works if the 
JAXBElementProvider itself isn't also held onto staticly, which, by default, 
it is.  :-(   I'd like to get it so the JAXRS Client/Server stuff would each 
get their own unique copy of the provider list so if they go out of scope, 
they would get cleaned up.   Something for another day.......


Dan


> 
> cheers, Sergey
> 
> On Thu, Aug 12, 2010 at 10:33 PM, Stefan Schubert <[email protected]> wrote:
> > I added a simple HashMap patch in Jira
> > (https://issues.apache.org/jira/browse/CXF-2939).
> > 
> > Cheers
> > Stefan
> > --
> > View this message in context:
> > http://cxf.547215.n5.nabble.com/REST-web-service-loading-many-classes-for
> > -each-request-CXF-2-2-6-and-jaxb-impl-2-1-5-tp2266472p2473688.html Sent
> > from the cxf-user mailing list archive at Nabble.com.

-- 
Daniel Kulp
[email protected]
http://dankulp.com/blog

Reply via email to