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

ProviderInfo rarely supports proxies

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.10, 3.2.0
    • Component/s: None
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      CXF has a lot of pi.getProvider().getClass() usages but it breaks when using proxies not propagating annotations (@Priority - org.apache.cxf.jaxrs.provider.ServerProviderFactory.ServerConfigurationImpl#getPriority, name bindings org.apache.cxf.jaxrs.provider.ProviderFactory#getFilterNameBindings, etc)

      Using at least org.apache.cxf.common.util.ClassHelper would solve this (and this API is designed for it isnt it?). Also using ClassUnwrapper would be consistent.

        Attachments

          Activity

            People

            • Assignee:
              sergey_beryozkin Sergey Beryozkin
              Reporter:
              romain.manni-bucau Romain Manni-Bucau
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: