com.google.inject
Interface Module

All Known Implementing Classes:
AbstractModule, ServletModule

public interface Module

A module contributes a set of configurations, typically interface bindings, to a ContainerBuilder which will later create a Container. Implementing this interface is the standard means for encapsulating and reusing configuration logic. Your Module classes can use a more streamlined syntax by extending AbstractModule rather than implementing this interface directly.

Since:
1.0

Method Summary
 void configure(ContainerBuilder builder)
          Contributes bindings and other configurations to a container builder, so that the resulting Container will include this module properly set up.
 

Method Detail

configure

void configure(ContainerBuilder builder)
Contributes bindings and other configurations to a container builder, so that the resulting Container will include this module properly set up.