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
Post a Comment