Skip to content

sknitelius/VoodooDI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VoodooDI Travis

VoodooDI is developed as part of an educational blog series, explaining the inner workings of DI frameworks.

Fork Me

Fork and/or clone the project.

$ git clone https://github.com/sknitelius/VoodooDI.git

Usage as Dependency

Using VoodooDI is simple matter of including the dependency in your pom.

Latest stable version:

  <dependency>
    <groupId>science.raketen.voodoo</groupId>
    <artifactId>VoodooDI</artifactId>
    <version>0.0.3</version>
  </dependency>

Latest snapshot:

  <dependency>
    <groupId>science.raketen.voodoo</groupId>
    <artifactId>VoodooDI</artifactId>
    <version>0.0.4-SNAPSHOT</version>
  </dependency>

Starting Voodoo Container:

  public static void main(String[] args) throws IOException {
    Voodoo container = Voodoo.initalize();
    MyApp myApp = container.instance(MyApp.class);
    ...
  }

License

This software is provided under the Apache 2.0 license, read the LICENSE file for details.