spring bean是什么 -- 重学程序第一天

bean定义

Spring 官方文档对 bean 的解释是:

In Spring, the objects that form the backbone of your application and that are managed by the Spring IoC container are called beans. A bean is an object that is instantiated, assembled, and otherwise managed by a Spring IoC container.

翻译过来就是:

在 Spring 中,构成应用程序主干并由Spring IoC容器管理的对象称为bean。bean是一个由Spring IoC容器实例化、组装和管理的对象。

 

原文是:https://www.awaimai.com/2596.html

posted @ 2020-04-06 16:05  重学程序  阅读(102)  评论(0)    收藏  举报