On Mon, Apr 12, 2010 at 12:12 AM, James Carman <jcar...@carmanconsulting.com > wrote:
> I would imagine that most implementations would cache their injectors > (it's part of the Bean<T>) > > > I was triggered by the remark in the WeldCOmponentInstantiationListener which says 'TODO Cache the NonContextual' Also, the NonContextual implementation itself mentions this 'Store the injection target. The CDI spec doesn't require an implementation to cache it, so we do' Therefore, it is probably safer to do the caching ourselves hen to rely on caching by the beanmanager.