Skip to main content

Posts

Micro Framework Plugin Architecture with Guice Multibindings

·3 mins
Google Guice (my favorite DI framework for Java) has a neat extension called “Multibindings” that allows you to auto-magically inject a collection of objects that implement a particular interface. This allows you to model SPI-style interfaces with ease.

Google Guava and Multimaps

·2 mins
Multimaps are one of the many collections in Google Guava. I describe why you might want to use them.