Spring singleton lifecycle
Posted
by EugeneP
on Stack Overflow
See other posts from Stack Overflow
or by EugeneP
Published on 2010-05-07T11:39:02Z
Indexed on
2010/05/07
11:48 UTC
Read the original article
Hit count: 165
Reading this
When a bean is a singleton, only one shared instance of the bean will be managed and all requests for beans with an id or ids matching that bean definition will result in that one specific bean instance being returned.
Will be managed...
What does that mean?
If there's only one object, than any modification to this object will result in that every another
attempt to get this bean will return a modified instance??
© Stack Overflow or respective owner