Jun 6th, 2006, 11:17 AM
Prototype Bean with ref to Singleton?
I have a prototype bean that contains a reference to a singleton bean. The setter for the dependent property is not being called.
<bean id="loginScreen" class="package.LoginScreen" init-method="init" singleton="false">
If i define the bean with singleton="true" the setter gets called...
Is what i am trying to do possible?
Jun 6th, 2006, 05:08 PM
How is loginScreen referenced? In other words, where are you triggering the instantiation of loginScreen?