Is there a spring lazy proxy factory in Spring?

前端 未结 3 685
旧时难觅i
旧时难觅i 2021-01-20 16:47

Wicket has this device called a lazy proxy factory. Given:


the idea is to auto-generate a prox

3条回答
  •  醉酒成梦
    2021-01-20 17:50

    Spring session/request scope is implemented using the technique you describe, but it is only intended to handle transitions between scope cardinalities, not instance creation. So spring uses the same concepts, but you'd probably have to create your own implementation.

提交回复
热议问题