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.