Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-2076

Enhance Subscribe annotation to map java method by the event name and the parameter type in order

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Done
    • Icon: Normal Normal
    • 7.0.3
    • 7.0.1
    • None
    • None

      For example,

      //In order
      @Subscribe("queue1", eventName="dataChange")
      public void method1(int index, Listitem item) {
          // this method will be called when EventQueue "queue1" of Desktop scope is published
      }
      queue1.publish(new Event("dataChange", null, new Object[]{3, listitem});
      

            JerryChen JerryChen
            jumperchen jumperchen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: