[cdi-dev] Async event API
Antoine Sabot-Durand
antoine at sabot-durand.net
Wed Nov 26 11:39:08 EST 2014
Hi all,
As we said I introduced API changes to support scenario 1) of asynchronous event corresponding to §1 in 4.1.1 (https://docs.google.com/document/d/1lFtgLm6hY-uECdA1r0Sfimq6vkVYThoUZsevPUaSP0E/edit?usp=sharing <https://docs.google.com/document/d/1lFtgLm6hY-uECdA1r0Sfimq6vkVYThoUZsevPUaSP0E/edit?usp=sharing>)
The changes are quite small :
https://github.com/cdi-spec/cdi/commit/7a0c1d3aba0c0d2694d56f21867cde939465fb73 <https://github.com/cdi-spec/cdi/commit/7a0c1d3aba0c0d2694d56f21867cde939465fb73>
Regarding scenario 2) (each event launched in different threads)I think it can be done without having the feature specific to evens. We could discuss the introduction of @Asynchronous calls in CDI and obtain this behaviour by annotating observer method by an @Asynchronous.
Wdyt
Antoine
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/cdi-dev/attachments/20141126/a5b2c61c/attachment.html
More information about the cdi-dev
mailing list