|
||||||||
|
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

So I should call createAnnotatedType on all types that could get injected during init of the application? That does not sound like a workable solution, because there's no way a wicket application can know beforehand which components require injection. InjectionTargets (and thus also AnnotatedTypes) are created lazily for components that require injection on the first time they are instantiated and cached for later use. It's not possible to know beforehand which InjectionTargets will be required by a starting application, nor is it possible to know which InjectionTargets are required by a session restored from a persisted cache.
Can you tell me what you changed? I've added the name attribute to the Deploy annotations and the testcase is still failing.