Osvaldo Pina commented on CXF-7640:


Few years ago we develop here a framework to serialize rpc calls over http 
using cxf on the the server and client. The same annotated interface is used by 
server and client. Clients and servers can live in the same jvm but in diferent 
applications (EARs). The framework uses, in server applications, spring to 
inject dependencies but framework clients are constructed without any spring 
dependency because we canot control whitch spring version is beeing used. When 
we try to use framework clients in applications that have very old spring 
dependencies we get java.lang.NoSuchMethodError (java.lang.NoSuchMethodError: 
org.springframework.util.ClassUtils.isCglibProxyClass(Ljava/lang/Class;)Z). I 
would like to enable cxf spring use in server applications and disable in 
client applications. I'm afraid of disabling in the whole jvm and generate side 
effects on server applications.

Thanks a lot!

>  Create a form to set the use of Spring in the classHelper on a per client way
> ------------------------------------------------------------------------------
>                 Key: CXF-7640
>                 URL: https://issues.apache.org/jira/browse/CXF-7640
>             Project: CXF
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Osvaldo Pina
>            Priority: Major
> The solution for CXF-6191 allows for configuration of the use of Spring in 
> ClassHelper in a per vm way via System property. Would be nice to have a way 
> to configure it in a per instance way (or, at least, in a per classloader way)

This message was sent by Atlassian JIRA

Reply via email to