Spring with IOC

xiaoxiao2021-03-06  90

Org.springframework.beans package provides IOC implementation, based on this basis, which builds other core features such as AOP to form the basis of the entire SpringFramework. The respective core classes of these two packages are: org.springframework.beans.Factory.BeanFactory and Org.SpringFramework.Context.ApplicationContext.

It seems that the container is started from the configuration.

From the perspective of the application, BeanFacory is more based on, and ApplicationContext is more reproduced. So use ApplicationContext more in general applications.

转载请注明原文地址:https://www.9cbs.com/read-123378.html

New Post(0)