This content has been marked as final.
Show 1 reply
-
1. Re: Producer and parent bean.
nimo22 Mar 4, 2011 6:03 AM (in response to nimo22)The strange thing is:
@PostConstruct of a (dependent) bean in which the session scoped and named producer method lies, is called twice instead of once, when injecting the bean and its producer method separately. Is that a bug? So the bean is created twice only because I inject the producer method in which the bean lies - but the bean has another lifecycle and scope of the producer method, wo why is a instance of a bean also created?