[cdi-dev] [JBoss JIRA] (CDI-31) Asynchronous events

Martin Kouba (JIRA) jira-events at lists.jboss.org
Tue May 7 03:46:54 EDT 2013


    [ https://issues.jboss.org/browse/CDI-31?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12772550#comment-12772550 ] 

Martin Kouba commented on CDI-31:
---------------------------------

Gerhard, I don't think your {{AsyncInterceptor}} impl is quite correct and portable. Firstly the interceptors spec states: "Around-invoke and around-timeout interceptor methods run in the same Java thread as the associated target method.". So if there's some associated interceptor to be invoked after {{AsyncInterceptor}} this spec rule is violated. Furthermore I don't think it's legal/portable to invoke {{InvocationContext.proceed()}} in a different thread...
                
> Asynchronous events
> -------------------
>
>                 Key: CDI-31
>                 URL: https://issues.jboss.org/browse/CDI-31
>             Project: CDI Specification Issues
>          Issue Type: Feature Request
>          Components: Events
>    Affects Versions: 1.0
>            Reporter: Nicklas Karlsson
>             Fix For: TBD
>
>
> Consider including asynchronous events as their were specified in one of the previous drafts.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the cdi-dev mailing list