Tomas Remes created CDI-609:
-------------------------------
Summary: Clarify behaviour of ObserverMethodConfigurator<T> read
Key: CDI-609
URL:
https://issues.jboss.org/browse/CDI-609
Project: CDI Specification Issues
Issue Type: Clarification
Affects Versions: 2.0-EDR2
Reporter: Tomas Remes
It's not clear what should happen in case if you are using ObserverMethodConfigurator
and attempting to read from a method ({{Method}}, {{AnnotatedMethod}}) which doesn't
have any parameter annotated @Observes. E.g something like this in ABD lifecycle event
("observesMelon" doesn't have any @Observes):
{code}
Method melonMethod = FruitObserver.class.getMethod("observesMelon",
Melon.class);
abd.addObserverMethod().read(melonMethod)
{code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)