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

Make it possible to get global JAX-RS providers registered on the bus

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.6.5, 2.7.2
    • JAX-RS
    • None
    • Unknown

    Description

      Typically, one will register JAX-RS providers on per-endpoint basis; the same provider may also be shared between multiple endpoints;

      However in some cases it may be useful to get the same provider shared between endpoints by simply registering the provider on the bus: this also simplifies the configuration of the individual endpoints.

      Bus interface offers typed extension API but the changes are needed to this API to make it easy to inject number of extensions from Spring/Blueprint; while it can make it simpler to work at the code level, the benefit at Spring level is minimal, and thus using Bus.setProperties appears to be sufficient at the moment

      Attachments

        Activity

          People

            sergey_beryozkin Sergey Beryozkin
            sergey_beryozkin Sergey Beryozkin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: