Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-6191

Avoid Spring usage by configuration in ClassHelper

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.4, 2.7.15, 3.1
    • Component/s: Core
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              sergey_beryozkin Sergey Beryozkin
              Reporter:
              michalboron Michal BoroĊˆ
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: