public class RepositoriesModule extends AbstractModule
onModule(RepositoriesModule module) method, in which
they should register repository using registerRepository(String, Class) method.| Constructor and Description |
|---|
RepositoriesModule() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configure()
Configures a
Binder via the exposed methods. |
void |
registerRepository(String type,
Class<? extends Module> module)
Registers a custom repository 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, requireBindingpublic void registerRepository(String type, Class<? extends Module> module)
type - The typemodule - The moduleprotected void configure()
AbstractModuleBinder via the exposed methods.configure in class AbstractModuleCopyright © 2009–2016. All rights reserved.