项目 >> IoC

IoC

IoC是一种模式
IoC(Inversion of Control)中文译为控制反转,目前Java社群中流行的各种轻量级容器的实现都是以IoC模式作为基础的。控制反转意味着在系统开发过程中,设计的类将交由容器去控制,而不是在类的内部去控制,类与类之间的关系将交由容器处理,一个类在需要调用另一个类时,只要调用另一个类在容器中注册的名字就可以得到这个类的实例,与传统的编程方式有了很大的不同,”不用你找,我来提供给你”,这就是控制反转的含义。

PicoContainer(Java)

PicoContainer is a lightweight and highly embeddable container for components that honour Dependency Injection. See PicoContainer Overview for an introduction to PicoContainer. Want something easier...

NanoContainer(Java)

NanoContainer is a Dependency Injection container that manages trees of PicoContainers. Container Container adds the following features to PicoContainer: Classloader (classpath) management,...

Hivemind

Apache出品,DI容器