more on this, type variable is not valid bean injection type. you can
not resolve any bean to injection point with type variables.

hope this helps;

2009/8/2, Mark Struberg <[email protected]>:
>
> Hi!
>
> While trying to run the TCK suite, I came across a problem while parsing the
> class
>
> public class MockCreationalContext<T> implements CreationalContext<T>;
>
> with WebBeansLifecycle#applicationStarted
>
> The problem is the generic type T (a javax.reflect.generic.TypeVariable)
> which doesn't resolve to a 'real' class and since crashes OWB.
>
> How do we solve this? From reading the spec I cannot even say if this is a
> valid bean type at all.
> On the on hand it is not listed in the taxative list of valid bean types.
> On the other hand, an example with an _applied_ type is shown in the spec
> (class BookShop implements Shop<Book>)
>
> Gurkan, are you online tomorrow evening?
>
> LieGrue,
> strub
>
>
>
>


-- 
Gurkan Erdogdu
http://gurkanerdogdu.blogspot.com

Reply via email to