This content has been marked as final.
Show 2 replies
-
1. Re: CDI spec statement about Typecasting
nickarls Feb 7, 2010 8:15 PM (in response to chasetec)Well, there could be other classes that implements Biz (enabled @Alternatives in other scenarios).
-
2. Re: CDI spec statement about Typecasting
chasetec Feb 7, 2010 9:10 PM (in response to chasetec)Right, but the spec statement doesn't say that the casting error might be caused by a AmbiguousResolutionException. It seems to leave the possibility that a CDI implementation may generate contextual references that don't extend the bean implementation class.