This content has been marked as final.
Show 2 replies
-
1. Re: @PostContruct called twice
luksa Oct 25, 2012 5:57 AM (in response to olpf)Hi Oliver.
I've written an arquillian test for this, and it seems to work as expected (PostConstruct invoked only once).
Please take a look at my test and either modify it so it fits your case exactly, or just tell me what the differences are between my test and your use case and I'll change the test.
The test is at https://github.com/luksa/weld-core/commit/c8bf5d689750a4b2e1ff9b684b165c19af5065a1
-
2. Re: @PostContruct called twice
olpf Oct 25, 2012 8:32 AM (in response to luksa)You are right....after checking all, I found the bug in my code sorry for that...