Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-9006

In resolving observers take into account qualifier members

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.3.0.M2
    • 3.3.0.M1
    • cdi
    • None

      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.

              scabanovich Viacheslav Kabanovich (Inactive)
              scabanovich Viacheslav Kabanovich (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: