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
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(Stringtype, Class <? extends Module > module)
type - The type
module - The module
protected void configure()
AbstractModule
Binder via the exposed methods.