This content has been marked as final.
Show 2 replies
-
1. Re: ProcessInjectionPoint.setInjectionPoint() doesn't work in some environment.
manovotn Jan 7, 2019 6:29 AM (in response to bingochen)Hello,
the catch here is that what you expect to work is basically unsupported. CDI spec speaks of some core behaviour, EE environment and (since 2.0) SE environment. Not servlets though, so what Weld offers in that regard is beyond specification.
To point to the spec, firstly there is a chapter that ProcessInjectionPoint should be fired for every bean, interceptor and decorator.
Later on there is another chapter that expands this rule to apply to EE component classes while in EE environment which might have confused you.
That being said, it may not be impossible to implement this behaviour, feel free to create a Weld JIRA so this idea doesn't get lost. Or better still, send a PR ;-)
-
2. Re: ProcessInjectionPoint.setInjectionPoint() doesn't work in some environment.
bingochen Jan 8, 2019 4:06 AM (in response to manovotn)Thanks your response, I will post it to Weld JIRA