[
https://issues.apache.org/jira/browse/EXTCDI-208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13068388#comment-13068388
]
Martin Kočí commented on EXTCDI-208:
------------------------------------
My test is is pretty virtual - no real performance problem. I only noticed
unexpected number of invocation of CodiUtils.injectFields - in my test case I
call facesContext.getExceptionHandler() 1000x
> CodiFacesContextWrapper.getExceptionHandler() tries to inject many times
> during one request/response
> ----------------------------------------------------------------------------------------------------
>
> Key: EXTCDI-208
> URL: https://issues.apache.org/jira/browse/EXTCDI-208
> Project: MyFaces CODI
> Issue Type: Improvement
> Affects Versions: 1.0.0
> Environment: codi 1.0.0
> Reporter: Martin Kočí
> Priority: Minor
>
> org.apache.myfaces.extensions.cdi.jsf2.impl.listener.request.CodiFacesContextWrapper.getExceptionHandler()
> tries to inject field always - in every method call.
> ExceptionHandler instance has request scoped lifespan and it cannot change -
> I think is suitable to inject fields only once.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira