[weld-dev] Spec clarification needed

Pete Muir pmuir at redhat.com
Fri Apr 9 05:56:33 EDT 2010


On 9 Apr 2010, at 10:16, Sven Linstaedt wrote:

> According to the java docs, I would also suppose your expression to be true. Otherwise InjectionPoint#isDelegate() would always return false, making this method dispensable. The interesting point imho is injecting the InjectionPoint in other cases than producer methods. I have not seen examples for this usage in the spec.

Sure, but it is required to be supported :-)

The reason you always see it in producer methods as that is where it is interesting (where you can vary what is to be injected at runtime...)


More information about the weld-dev mailing list