[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-9006) In resolving observers take into account qualifier members

Viacheslav Kabanovich (JIRA) jira-events at lists.jboss.org
Wed May 25 19:42:00 EDT 2011


In resolving observers take into account qualifier members
----------------------------------------------------------

                 Key: JBIDE-9006
                 URL: https://issues.jboss.org/browse/JBIDE-9006
             Project: Tools (JBoss Tools)
          Issue Type: Feature Request
          Components: cdi (jsr-299)
    Affects Versions: 3.3.0.M1
            Reporter: Viacheslav Kabanovich
            Assignee: Viacheslav Kabanovich
             Fix For: 3.3.0.M2


EXECUTE: create following Java elements:
1) class: TamingCommand
2) Qualifier: Role with member String value();
3) Observer in some class: public void tamed(@Observes @Role("Master") TamingCommand tamed)
4) Field in some class: @Role("Master") Event<TamingCommand> tamingEvent;
5) Field in some class: @Role("Alien") Event<TamingCommand> solicitingEvent;
ASSERT: Observer is resolved to field tamingEvent.
ASSERT: Observer is not resolved to field solicitingEvent.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list