GithubHelp home page GithubHelp logo

easy-spring's Introduction

手动实现spring-ioc功能

菜鸟迈向大神的道路 - 欢迎指导~

关于

spring-ioc 是为了了解内部IOC原理而开发的。它是以spring-1.2.9版本的源代码以及他人的tiny-spring项目为出发点来一步一步完善起来,大部分的类名与逻辑处理都与源代码相同,较为复杂的部分以个人的理解来进行代码上的简化,最终实现了一个较为基础的IOC 。为了便于理解,大部分的代码都加上了注释!

功能

  • 支持singleton类型的bean,包括初始化、属性注入、依赖bean注入
  • 多个配置文件中读取bean
  • 运用设计模式尽可能降低代码耦合性:
    • 工厂方法模式 模板方法模式

版本

  • git checkout v1.0 :通过解析配置文件来初始化bean并给对应的bean设置属性值

easy-spring's People

Contributors

julianhang avatar

Watchers

James Cloos 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.