|
You are here |
msfjarvis.dev | ||
| | | | |
sigpwned.com
|
|
| | | | | Rapier is a code generation companion library for Google Dagger. It is designed to reduce boilerplate by generating Dagger modules for fetching configuration data from common sources. If you've ever written Dagger code like this: @Component(modules = {RapierExampleComponentEnvironmentVariableModule.class}) public interface ExampleComponent { @EnvironmentVariable(value = "TIMEOUT", defaultValue = "30000") public long getTimeout(); }? Then Rapier can | |
| | | | |
ryanharter.com
|
|
| | | | | I recently gave a presentation about how Dagger works under the hood, and I was once again struck by the elegance of the javax.inject.Provider interface. The interface is so simple it almost seems useless, but it's also incredibly flexible, and forms the basis of much of the code generated by Dagger. Like many dependency injection frameworks for JVM languages, Dagger uses and builds on the standard set of annotations for injectable classes defined in JSR-330 and provided in the javax. | |
| | | | |
www.arunkumar.dev
|
|
| | | | | Exploring how Dagger can be extended to add project specific dependency graph valditations for even more robust compile time verification. | |
| | | | |
jakeseliger.com
|
|
| | | 1 post published by Jake Seliger on October 9, 2012 | ||