Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 1.83 KB

README.md

File metadata and controls

41 lines (30 loc) · 1.83 KB

build test deploy

bootique-di

Since Bootique 3, bootique-di is no longer developed as a standalone module, and is instead included in Bootique core. So this GitHub project is retired, while the DI functionality continues to live and thrive at https://github.com/bootique/bootique .

A lightweight and fast dependency injection (DI) engine used by Bootique framework. Can be used in the context of Bootique or as a standalone DI engine.

Docs

Standalone Example

Starting and using Bootique DI

BQModule m = binder -> binder.bind(MyService.class).to(MySericeImpl.class);
Injector injector = DIBootstrap.createInjector(m);
MyService s = injector.getInstance(MyService.class);