Uploaded image for project: 'Seam 2'
  1. Seam 2
  2. JBSEAM-4020

Custom RESTEasy StringConverter provider classes need special registration

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2.2.0.GA
    • Component/s: WS
    • Labels:
      None

      Description

      RESTEasy offers a custom StringConverter provider extension. Unlike normal providers, the SPI in RESTEasy for registration of these providers is different:

      if (StringConverter.class.isAssignableFrom(providerClass))

      { providerFactory.addStringConverter(providerClass); }

      else

      { providerFactory.registerProvider(providerClass); }

      This needs to be fixed in RestEasyDispatcher.java

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  christian.bauer Christian Bauer
                  Reporter:
                  christian.bauer Christian Bauer
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: