This content has been marked as final.
Show 2 replies
-
1. Re: Injected properties don't worjk in constructors?
hstang Dec 21, 2006 12:39 AM (in response to svadu)Correct me if I am wrong, but Seam needs to instantiate a fully constructed instance before injecting zmponents via @In. Hence NPE in the constructor.
Try @Create. The annotated method will be called when the component is fully initialized. The log will be fine. -
2. Re: Injected properties don't worjk in constructors?
svadu Dec 21, 2006 4:36 PM (in response to svadu)Thanks a lot! I will definitely try that!