Sep 29th, 2011, 11:16 AM
injecting a mangedbean into a singleton bean
I have two singleton beans of which one is a managed bean, A and other bean B
B has a dependency to A , so when spring context loads it injects A into B , I start the jmx console and change a property of A (Managed bean), will this change reflect in B ?
I am not clear in terms of instances , I have 2 instances of B these two are injected into some other bean. changing the property of B will the two instances are updated with this chnage ?
Please help me understand Mbean .