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

@UseAsyncMethod annotation doesn't work for classes implementing Provider<T>

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0-milestone1
    • 2.7.9, 3.0.0-milestone2
    • None
    • None
    • Unknown

    Description

      In case if handler implements Provider<T> interface, the @UseAsyncMethod annotation doesn't work.
      The reason is the following: : JAXWSProviderMethodDispatcher returns invoke() method directly from javax.xml.ws.Provider interface and of course this method doesn't contain any annotation.
      Therefore JAXWSMethodInvoker.adjustMethodAndParams() doesn't recognizes @UseAsyncMethod annotation there.

      Attachments

        Activity

          People

            ashakirin Andrei Shakirin
            ashakirin Andrei Shakirin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: