Releases: manuel-mauky/EasyDI
Releases · manuel-mauky/EasyDI
v0.3.0
Changes
bindInstance
method can be used to bind an instance of an Interface to the interface type:
EasyDI context = new EasyDI();
MyService serviceInstance = new MyServiceImpl();
context.bindInstance(MyService.class, serviceInstance);
- Error messages that are thrown when there is a missconfiguration are now providing more information about the type of the error. EasyDI tells you which class asks for an instance that can't be created.
v0.2.0
New Features
`Provider``s can now be injected to support lazy injection/lazy instantiation.
v0.1.0
First stable release with all base functionality for constructor-based dependency injection.