2005年7月19日

关于IOC

摘要: 这两天看了Martin Fowler的《Inversion of Control Containers and the Dependency Injection pattern》,结合Spring.net的例子,总算对IOC有了一些了解。Ioc英文为 Inversion of Control,即反转模式。它的主要目的是解耦,即解决调用者和被调用者之间的强耦合问题。举个例子:1publicclass... 阅读全文

posted @ 2005-07-19 11:04 wljcan 阅读(1587) 评论(0) 推荐(0) 编辑

导航