Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-5445

(7.0.z) RESTEASY-1444 - ResteasyProviderFactory.getClasses should only return classes of providers to be instanciated not the ones of the singletons

    XMLWordPrintable

Details

    • EAP 7.0.4

    Description

      The regression has been introduced by JIRA https://issues.jboss.org/browse/RESTEASY-1284.
      JAX-RS components are now registered only once but calling "getConfiguration().getClasses()" on the JAX-RS configurable instance (WebTarget for example) returns the set of registered JAX-RS component classes to be instantiated and also the classes of registered singletons.

      According to the documentation it should only return "the immutable set of registered JAX-RS component (such as provider or feature) classes to be instantiated, injected and utilized in the scope of the configurable instance.", not the classes of singletons to be utilized. (see attached test file)

      Attachments

        Issue Links

          Activity

            People

              istudens@redhat.com Ivo Studensky
              rhn-cservice-bbaranow Bartosz Baranowski
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: