Announcement Announcement Module
Collapse
No announcement yet.
injecting a mangedbean into a singleton bean Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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 .
Working...
X