This content has been marked as final.
Show 2 replies
-
1. Re: specifying scope on injection point
nickarls May 18, 2009 7:42 AM (in response to mikewse)Well, producer fields are shorter but yes, in JCDI scopes are no longer to be treated as maps which can be manipulated freely (as the thread on removing stuff from contexts touched)
-
2. Re: specifying scope on injection point
gavin.king May 19, 2009 1:37 AM (in response to mikewse)A producer method/field or a subclass. IMO, subclass is a more elegant solution much of the time.