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

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -