IOC moves the responsibility for making things happen into the framework and away from application code.
IOC将处理事情的责任从应用程序代码转移到框架。
Spring can help you solve this problem by providing an Inversion of Control (IoC) infrastructure, allowing you to inject connection management implementation in dependant code.
Spring可以帮助您解决这个问题,它提供了反向控制(Inversionof Control,IoC)基础设施,允许在依赖代码中注入连接管理实现。
Spring's IOC implementation uses dependency injection to effectively "invert control" from your application code to the Spring container.
Spring的IOC实现使用依赖性注入有效地将控制从应用程序代码 “反转”到 Spring 容器。
The BeanFactory applies the Inversion of Control (IOC) pattern to separate an application's configuration and dependency specification from the actual application code.
BeanFactory 使用控制反转 (IOC)模式将应用程序的配置和依赖性规范与实际的应用程序代码分开。
I have provided similar wrapper classes for all the IoC beans in the article's source code (see Download).
本文的源代码中,我为所有IoCbean提供了类似的包装类(参见下载)。
The source code includes an applicationContext.xml file, which contains IoC bean configurations.
源代码包含一个applicationContext.xml文件,它包含IoCbean配置。
The source code includes an applicationContext.xml file, which contains IoC bean configurations.
源代码包含一个applicationContext.xml文件,它包含IoCbean配置。
应用推荐