This content has been marked as final.
Show 2 replies
-
1. Re: Access to InjectionPoint from custom CDI Context Scope?
alesj Apr 17, 2012 8:52 AM (in response to aanderson)Can you format this a bit, as it's impossible to read ...
-
2. Re: Access to InjectionPoint from custom CDI Context Scope?
aanderson Apr 21, 2012 2:34 AM (in response to aanderson)This example demonstrates what I was lookng to achieve. By using a normal Qualifier Producer one can delegate the creation of a qualified scoped bean to the custom CDI scope context by passing the qualifier information to the context via a thread local. This solution has the added benefit of keeping all the scoped bean creation logic in the custom scope and all of the potential instance modification logic in the provider where they respectively belong.