[
https://issues.apache.org/jira/browse/CXF-6191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14277620#comment-14277620
]
Sergey Beryozkin commented on CXF-6191:
---------------------------------------
I've updated the code to check an "org.apache.cxf.useSpringClassHelpers"
property, updated ClassHelper and ClasspathScanner accordingly
thanks
> Avoid Spring usage by configuration in ClassHelper
> --------------------------------------------------
>
> Key: CXF-6191
> URL: https://issues.apache.org/jira/browse/CXF-6191
> Project: CXF
> Issue Type: Improvement
> Components: Core
> Reporter: Michal BoroĊ
> Priority: Minor
> Fix For: 3.0.4, 2.7.15, 3.1.0
>
>
> By default, CXF detects whether Spring framework is available and use its
> functionality if possible.
> In some cases it is not desirable to use CXF with Spring e.g. because of
> compatibility issue (given CXF version does not support Spring version that
> is available on classpath).
> It would be nice if org.apache.cxf.common.util.ClassHelper could consider
> some configuration setting during the initialization (e.g. JVM parameter
> "-Dorg.apache.cxf.useSpring=false").
> Configuration would be used in ClassHelper in the static static block.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)