[webbeans-dev] TCK- Event Tests
Gurkan Erdogdu
gurkanerdogdu at yahoo.com
Thu Mar 12 18:48:03 EDT 2009
Hi;
When @Fires annotation exist in the field of the bean, there is an implicit bean and indeed this bean must be added to the Manager. But then
how to differentiate beans with the same API type (Event class) and Binding Type?
For example;
Class A{
@Fires Event<X> x;
}
Class B{
@Fires Event<Y> y;
}
In the tests using the resolveByType(Event.class, new FiresBinding(){}).
But in this case it throws the AmbigiousDependencyException. How could we resolve this? Or we understood wrongly;
Thanks;
Gurkan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/weld-dev/attachments/20090312/c6912622/attachment.html
More information about the weld-dev
mailing list