public class RiversModule extends AbstractModule
Constructor and Description |
---|
RiversModule(Settings settings) |
Modifier and Type | Method and Description |
---|---|
protected void |
configure()
Configures a
Binder via the exposed methods. |
void |
registerRiver(String type,
Class<? extends Module> module)
Registers a custom river type name against a module.
|
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
public RiversModule(Settings settings)
public void registerRiver(String type, Class<? extends Module> module)
type
- The typemodule
- The moduleprotected void configure()
AbstractModule
Binder
via the exposed methods.configure
in class AbstractModule
Copyright © 2009–2015. All rights reserved.