Skip to content

Releases: manuel-mauky/EasyDI

v0.3.0

22 Apr 19:25
Compare
Choose a tag to compare

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

13 Jan 22:29
Compare
Choose a tag to compare

New Features

`Provider``s can now be injected to support lazy injection/lazy instantiation.

v0.1.0

05 Oct 19:21
Compare
Choose a tag to compare

First stable release with all base functionality for constructor-based dependency injection.