Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

cxf dynamic client changes classloader

$
0
0
I am using cxf dynamic client , jsf2 is having issues after create the
client using JaxWsDynamicClientFactory
in the method the classloader is updated and this causes issues here is the
code from cxf

this line // Setup the new classloader!
ClassLoaderUtils.setThreadContextClassloader(cl); is updating
classloader ,
so any application which uses classloader as key to cache someobjects in a
map will fail as the current thread classloader is updated.

Viewing all articles
Browse latest Browse all 5648

Latest Images

Trending Articles



Latest Images