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

Show a warning when no observer exists to receive an injected event

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Major Major
    • LATER
    • 3.3.0.Beta2
    • cdi

      With the following event

      @Inject
      private Event<EventLog> eventLog;
      

      cannot be delivered to

      public void log(@Observes @Now EventLog eventLog) {
      ...
      }
      

      by

      eventLog.fire();
      

      Can it be of use to put a warning on field 'eventLog', when the application has no observer to receive it?

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

              Created:
              Updated: