Dan,
txs for the WBRI-311 tip. In fact I'm currently running the TCK for our Apache
OpenWebBeans implementation and we have the same issue. But I actually hit this problem a
lot earlier.
For your second comment: I'm not a WebBeans RI user but work on the Apache
implementation, so I hope this very list is still correct.
LieGrue,
strub
--- On Tue, 8/4/09, Dan Allen <dan.j.allen(a)gmail.com> wrote:
From: Dan Allen <dan.j.allen(a)gmail.com>
Subject: Re: [webbeans-dev] Generic classes as bean types allowed?
To: "Mark Struberg" <struberg(a)yahoo.de>
Cc: webbeans-dev(a)lists.jboss.org
Date: Tuesday, August 4, 2009, 12:06 AM
Yes, except it is currently broken
according to this issue report:
https://jira.jboss.org/jira/browse/WBRI-311
If you want to see examples, check out the test cases in
the TCK.
And, as a parting point, this post should likely have been
here:
http://seamframework.org/Community/WebBeansUsersForum
-Dan
On Mon, Aug 3, 2009 at 3:31 PM, Mark Struberg <struberg(a)yahoo.de>
wrote:
Hi!
I have the following situation:
public class MyClass<T> {
...
}
and like to inject a specialised instance of this class:
public class MyOtherBean {
private MyClass<Integer> myIntCls;
}
>From reading the spec (2.2.1), I was not sure if this
is allowed. It would make sense, since we can nail down the
exact implementation at the injection point. Otoh the
classpath scanning part will get trickier.
LieGrue,
strub
_______________________________________________
webbeans-dev mailing list
webbeans-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/webbeans-dev
--
Dan Allen
Senior Software Engineer, Red Hat | Author of Seam in
Action
Registered Linux User #231597
http://mojavelinux.com
http://mojavelinux.com/seaminaction
http://in.relation.to/Bloggers/Dan