On Wed, 2009-12-30 at 09:15 -0600, Gavin King wrote:
Yes, that's what I was worried about. It's *not* crystal
the spec that this is required. It's one of the things that needs
I'll add this comment to the bug too. At the moment, I don't see an
easy way to get the InjectionPoint for the bean being destroyed. It
might be rather difficult to build that in, but I'm not sure how
difficult. On the other hand, it certainly sounds like a very useful
feature, so that should be the driving requirement for the spec IMHO.
On Wed, Dec 30, 2009 at 7:55 AM, David Allen <drallendc(a)gmail.com> wrote:
> Actually with the correct qualifiers (which I was experimenting with a
> bit), the producer and disposer do get used, but the InjectionPoint
> parameter is null on the disposer method.
> - David
> On Wed, 2009-12-30 at 14:30 +0100, David Allen wrote:
>> At the moment, this does not work. When the disposal method is added,
>> the producer is no longer used and Weld leaves the injected field null.
>> I am not sure what exactly is going on yet in Weld.
>> On Tue, 2009-12-29 at 11:39 -0600, Gavin King wrote:
>> > I realize that the spec is a little ambiguous on this.