Giter VIP home page Giter VIP logo

myspringioc's Introduction

MySpringIOC

在阿里实习期间学习Spring,参考源码实现的一个简化版的IOC模型,功能有:

  • 支持基本ioc
  • setter注入方式,可注入bean及int、string等基本类型
  • 可选择配置scope(单例模式或原型模式)、init-method、lazy-init
  • 支持多线程
  • 循环依赖检测

com.myspring.test包为基本ioc功能的测试,MyTestResource类为bean的配置文件,在TestApplication处理; com.myspring.test.circle包为循环依赖的测试; com.myspring.test.threads包为多线程的测试。

包含PPT及讲解文档 感谢阿里巴巴1688部门陈海涛师兄和黄舜平师兄的指导。

myspringioc's People

Contributors

moyangvip avatar

Stargazers

 avatar

Watchers

 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.