Uploaded image for project: 'Apache AWF'
  1. Apache AWF
  2. AWF-153

Dynamic creation of RequestHandlers

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None

    Description

      The outcome after a discussion with github.com/inferno-:
      (In the current design) it's volatile to have fields in user defined RequestHandlers in conjunction with asynchronous calls. (intermediate request (to same RH) could change the state of the RH)

      We should investigate the performance impact for dynamic creation of RH.
      Proposed solution:
      1, Map<String, RequestHandler> => Map<String, Class<RequestHandler>>
      2, Application.getHandler should create the appropriate RequestHandler using reflection.
      3, UT / benchmark

      Attachments

        1. deft-142_clone.patch
          254 kB
          Johnathan Meehan

        Activity

          People

            jmeehan Johnathan Meehan
            niklas Niklas Therning
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: