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

JAXRS must be able to expose all spring components marked with @Path

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-milestone2
    • JAX-RS
    • None
    • Unknown

    Description

      To ease dev and not to have to declare all beans.
      See sample :

      not   
      <jaxrs:server id="bookservice" address="/">
        <jaxrs:serviceBeans>
          <ref bean="bookstore"/>
          <ref bean="bookstoreInterface"/>
        </jaxrs:serviceBeans>
      </jaxrs:server>
      
      but 
      
      <jaxrs:server id="bookservice" address="/">
        <jaxrs:serviceBeans all-beans="true">
          
        </jaxrs:serviceBeans>
      </jaxrs:server>
      
      All spring components marked with @Path as it will be exposed
      @Path( "/userService/" )
      @Service("userService#rest")
      public class DefaultUserService
          implements UserService
      

      Attachments

        Activity

          People

            sergey_beryozkin Sergey Beryozkin
            olamy Olivier Lamy
            Votes:
            8 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: