Spring scope

In some respects, the Spring container's role in regard to a prototype-scoped bean is a replacement for the Java new operator. All lifecycle management past that point must be handled by the client.

Spring 容器对prototype 作用域的bean 是交给用户自己管理的。

你可能感兴趣的:(java,spring,bean,prototype)