![]() |
|
|
|
|
Change By:
|
Martin Kouba
(02/Aug/12 4:21 AM)
|
|
Description:
|
Suppose this legal scenario (see 5.5.7. Injection point metadata) with SLSB bean {{Foo}} and request scoped bean {{Bar}}.
{code} @Stateless public class Foo { @Inject InjectionPoint injectionPoint; }
@RequestScoped public class Bar { @Inject Foo foo; } {code}
Field {{Foo#injectionPoint}} is null
(no {{UnsatisfiedResolutionException}} thrown!)
.
However the question is whether injection of {{InjectionPoint}} on SLSB should be possible. I think it may lead to inconsistencies - SLSB should not have any state as it is usually pooled and reused for every invocation.
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
_______________________________________________
weld-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/weld-issues