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可以帮助您解决这个问题,它提供了反向控制(Inversion of Control, IoC)基础设施,允许在依赖代码中注入连接管理实现。
Spring's IOC implementation uses dependency injection to effectively "invert control" from your application code to the Spring container.
Spring 的 IOC 实现使用依赖性注入有效地将控制从应用程序代码 “反转”到 Spring 容器。
应用推荐