This is a Java port of the ideas and motivations behind my totes fav IoC container from C# Autofac.
Because I was exploring Guice, and it's awesome, but I didn't like that you have to decorate all your classes with annotations. I like that Autofac sits alongside your app. The classes in your Domain have no idea they're participating in a IoC container, and that's the way it should be.
I also missed LifetimeScopes and the more fluent API.
Yes.
It uses Java 1.7 and gradle, because hey why not?
gradle build
should work. Hopefully.
Don't. This is a sketch. A itch that had no right to exist, but I scratched it anyways.
It's a sketch! I <3 TDD but sometimes you just really need to vomit out all the ideas in your head before they get away.
I would love to hear it: @ecoffey