Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-1083

Client side DynamicFeature instances always register as server side

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.0.6.Final, 3.0.7.Final, 3.0.8.Final
    • Fix Version/s: 3.0.15.Final
    • Component/s: jaxrs
    • Labels:
    • Environment:

      Sun JVM 1.7.0_60
      RestEasy 3.0.7

    • Steps to Reproduce:
      Hide

      Add an instance of DynamicFeature with ResteasyClientBuilder.register(Object o).

      Debug mode will show that it is always added to ResteasyProviderFactory.serverDynamicFeatures.

      DynamicFeature.configure() is never called when using RestEasy proxy client.

      Show
      Add an instance of DynamicFeature with ResteasyClientBuilder.register(Object o). Debug mode will show that it is always added to ResteasyProviderFactory.serverDynamicFeatures. DynamicFeature.configure() is never called when using RestEasy proxy client.

      Description

      The method registerProviderInstance(Object provider, Map<Class<?>, Integer> contracts, Integer priorityOverride, boolean builtIn) in RestEasyProviderFactory will always register a DynamicFeature as a server side feature.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                bill.burke Bill Burke
                Reporter:
                abrooksv Austin Brooks
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: