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-uECdA1r0Sfimq6vkVYThoUZsevP...
<
https://docs.google.com/document/d/1lFtgLm6hY-uECdA1r0Sfimq6vkVYThoUZsevP...>)
The changes are quite small :
https://github.com/cdi-spec/cdi/commit/7a0c1d3aba0c0d2694d56f21867cde9394...
<
https://github.com/cdi-spec/cdi/commit/7a0c1d3aba0c0d2694d56f21867cde9394...
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