4 Replies Latest reply on Mar 28, 2012 10:03 AM by luksa

    firing array of events

    borisha

      Hi,

       

      I wanted to do following:

       

      @Inject

      private Event<MyProperty[]> myPropertiesEvent;

       

      and somewhere in code

       

      MyProperty[] arr = new MyProperty[]{10};

      // now fill it with data

      myPropertiesEvent.fire(arr);

       

      but with WELD-000900 1.1.5 (Final) this does not work.

       

      If I go through BeanManager, try to find Observers for MyProperty[] type then it works.

       

      Is this a bug, feature or am I doing something wrong?

       

      regards

      Borisa