Skip to content

Latest commit

 

History

History
19 lines (17 loc) · 461 Bytes

README.md

File metadata and controls

19 lines (17 loc) · 461 Bytes

MyInjector

Implementation of IoC container in Java.

It supports:

  • Dependency injection
    • using constructor
    • using methods
    • using fields
  • Named bindings
  • Defining object scope
    • Prototype
    • Singleton
  • Injecting collections
  • Injecting primitive data types
  • Using both annotations and bindings collection to add bindings, define scope and other details.
  • Optional bindings
  • Detecting cycle dependencies in constructor