Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-1004 Implement JSR-311 1.0
  3. CXF-1416

Enhancement to JAX-RS spring configuration.

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1
    • 2.1
    • JAX-RS
    • None

    Description

      JAX-RS allows multiple root resources, for example, using JAXRSServerFactoryBean.setResourceClasses(Class... classes) . But the corresponding Spring configuration only allows setting one root resource class, eg:

      <jaxrs:server id="bookservice" address="/">
      <jaxrs:serviceBeans>
      <ref bean="bookstore"/>
      </jaxrs:serviceBeans>
      </jaxrs:server>
      <bean id="bookstore" scope="prototype" class="org.apache.cxf.systest.jaxrs.BookStore">
      </bean>

      Attachments

        1. PetStore.java
          2 kB
          Barry Fitzgerald
        2. CXF-1416-test.patch
          2 kB
          Barry Fitzgerald
        3. CXF-1416.patch
          1.0 kB
          Barry Fitzgerald

        Activity

          People

            Unassigned Unassigned
            jliu Jervis Liu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: