[
https://issues.jboss.org/browse/CDI-547?page=com.atlassian.jira.plugin.sy...
]
Tomas Remes commented on CDI-547:
---------------------------------
Yes maybe the third option looks as the best one to me. Because when you introduce new
method then there is a question: What all should it return in case of ASYNC version? It
would make sense to return all ASYNC + SYNC observers but I think this will bring only
more confusion.
Resolving sync/async observer methods
-------------------------------------
Key: CDI-547
URL:
https://issues.jboss.org/browse/CDI-547
Project: CDI Specification Issues
Issue Type: Clarification
Reporter: Jozef Hartinger
There's the
[
BeanManager.resolveObserverMethods()|http://docs.jboss.org/cdi/api/2.0.ED...]
method for resolving observer methods.
With addition of sync/async events and observers it is not unclear what the semantics of
this methods are. We'll most likely need to add new or overloaded methods to make it
possible to resolve observers for sync/async events.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)