4 Replies Latest reply: Mar 28, 2012 10:03 AM by Marko Lukša RSS

firing array of events

Borisa Zivkovic Newbie

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