- The main line of the second interface designYes, toApplicationContext interface design with the application context interface as the core, the main interfaces involved are designed, frombeanfactoryTolistablebeanfactory, and then toApplicationContext, and then to our usualWebapplicationcontextOrConfigurableapplicationcontextInterface. WeCommon Application ContextsBasically It's all configurableapplicationcontext .OrWebapplicationcontextThe implementation. In this interface system,listablebeanfactoryAndhierarchicalbeanfactoryTwo interfaces,interface definitions for connecting Beanfactory interface definitions and ApplicationContext application contexts。 Inlistablebeanfactoryinterface,many Beanfactory interface functions are refined., such as defining a getbeandefinitionnames() interface method, which we have mentioned in the previous article for the Hierarchicalbeanfactory interface, and for ApplicationContext interfaces, by inheritingMessagesource、Resourceloader、Applicationeventpublisherinterface, inThe beanfactory simple IOC container is based on the addition of a number of support for advanced container features。
Spring IOC container Design-line