Giter VIP home page Giter VIP logo

liteioc_0.1's Introduction

IoC
re-invent IoC container

DI(Dependency Injection)/IoC(Inverse of Control) Container

DI/IoC容器是轻量开发的缘起,比起J2EE笨拙的JNDI + Service Locater的方式,利用DI/IoC的应用,在可测试性、代码组织上都有了长足进步。被认识是J2EE轻量化的先声。现在IoC容器已经被认为是Java企业开发的基础和核心。经过JSR 330标准化,已经成为java扩展的一部分(javax.inject)。流行容器包括Spring, Guice等。而ThoughtWorks在IoC容器以及Java轻量化的发展、普及上做过很多工作。比如PicoContainer,NanoContainer, Naning等项目均出自ThoughtWorker之手(传奇TWer Paul Hammet,Jon Tierson,5年前后者离开ThoughtWorks,领导了google wave项目)。今天我们就来挑战这个功能。

功能要求

The implementation must support Constructor Inject
The implementation must support Setter Inject
The implementation must support container scope
The implementation must provide a configuration mechanism
实现要求

Functioning properly, and robust.
No other library apart from guava, xunit, testing tools.
参考资料 http://martinfowler.com/articles/injection.html

liteioc_0.1's People

Contributors

chenqutw avatar jiukunz avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.