singleton - Beans Scopes in Spring framework -


i new spring framework, if creating 2 parent beans prototype scope , inside creating 2 child beans inside parent beans singleton scope. how many object create?

whenever parent beans wired spring create new instances everytime. when spring wires children beans parent singleton instance of each child used. beans singleton entire spring context , not objects wired in.

hope you. more informafion on spring beans scope read this


Comments

Popular posts from this blog

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

android - ConstraintLayout: Realign baseline constraint in case if dependent view visibility was set to GONE -

c# - Populating Gridview inside Listview ItemTemplate On Web User Control from Code Behind -