|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Module
A module contributes a set of binding configurations, typically interface
bindings, to a Binder
which is later used to 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.
Method Summary | |
---|---|
void |
configure(Binder binder)
Contributes bindings and other configurations to a Binder . |
Method Detail |
---|
void configure(Binder binder)
Binder
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |