[
https://issues.apache.org/jira/browse/AWF-153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tony Stevenson moved DEFT-142 to AWF-153:
-----------------------------------------
Fix Version/s: (was: 0.4.0)
Component/s: (was: Core)
Issue Type: Bug (was: New Feature)
Reporter: Niklas Gustavsson
Key: AWF-153 (was: DEFT-142)
Project: Apache AWF (was: Deft)
> Dynamic creation of RequestHandlers
> -----------------------------------
>
> Key: AWF-153
> URL: https://issues.apache.org/jira/browse/AWF-153
> Project: Apache AWF
> Issue Type: Bug
> Reporter: Niklas Gustavsson
> Assignee: Johnathan Meehan
> Attachments: deft-142_clone.patch
>
>
> 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
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira