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

javascript - Confirm a form & display message if form is valid with JQuery -

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

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -