O'Reilly logo

Learning Google Guice by Hussain Pithawala

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Exploring a custom extension, guice-multibinder

Exploring a custom extension involves understanding how the custom extension works and what purpose it serves. In this topic, we will analyze guice-multibinder. During this, we will first inspect the important classes and interfaces in it, and later, how it provides an implementation of the extensions SPI. We will also explore the binding collection case in FlightEngineModule, where we prepare a collection of bindings using guice-multibinder.

Note

We discussed guice-multibinder extension in Chapter 3, Diving Deeper in Guice to illustrate binding collections. We pick it up again to explore the extensions SPI, because it gives us a good ground to analyze Injector bindings and a custom extensions case. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required