https://github.com/bootique/bootique-di
Bootique core DI framework
https://github.com/bootique/bootique-di
bootique dependency-injection-container injection
Last synced: about 1 year ago
JSON representation
Bootique core DI framework
- Host: GitHub
- URL: https://github.com/bootique/bootique-di
- Owner: bootique
- License: apache-2.0
- Created: 2018-04-01T11:28:26.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-04-18T09:55:34.000Z (about 2 years ago)
- Last Synced: 2025-04-01T12:11:12.716Z (over 1 year ago)
- Topics: bootique, dependency-injection-container, injection
- Language: Java
- Homepage: https://bootique.io
- Size: 600 KB
- Stars: 7
- Watchers: 8
- Forks: 5
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/bootique/bootique-di/actions/workflows/maven.yml)
# 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](https://github.com/andrus/di-comparison#results-java-8) dependency injection (DI) engine used by Bootique framework. Can be used in the context of Bootique or as a standalone DI engine.
## Docs
- [Docs](https://bootique.io/docs/2.x/bootique-docs/#_bqruntime_and_di) (in the context of Bootique)
- [Migration from Guice](https://bootique.io/docs/2.x/migrate-from-guice/)
## Standalone Example
Starting and using Bootique DI
```java
BQModule m = binder -> binder.bind(MyService.class).to(MySericeImpl.class);
Injector injector = DIBootstrap.createInjector(m);
MyService s = injector.getInstance(MyService.class);
```