public class MapperInstaller
extends java.lang.Object
implements ru.vyarus.dropwizard.guice.module.installer.FeatureInstaller, ru.vyarus.dropwizard.guice.module.installer.install.binding.BindingInstaller
ResultSetMapper and register them. Register mappers as singletons.
Reports all installed mappers to console.
Mappers are normal guice beans and so may use constructor injection, aop etc.
for actual installation| Constructor and Description |
|---|
MapperInstaller() |
| Modifier and Type | Method and Description |
|---|---|
void |
bind(com.google.inject.Binder binder,
java.lang.Class<?> type,
boolean lazy) |
void |
extensionBound(com.google.inject.Stage stage,
java.lang.Class<?> type) |
<T> void |
manualBinding(com.google.inject.Binder binder,
java.lang.Class<T> type,
com.google.inject.Binding<T> binding) |
boolean |
matches(java.lang.Class<?> type) |
void |
report() |
public boolean matches(java.lang.Class<?> type)
matches in interface ru.vyarus.dropwizard.guice.module.installer.FeatureInstallerpublic void bind(com.google.inject.Binder binder,
java.lang.Class<?> type,
boolean lazy)
bind in interface ru.vyarus.dropwizard.guice.module.installer.install.binding.BindingInstallerpublic <T> void manualBinding(com.google.inject.Binder binder,
java.lang.Class<T> type,
com.google.inject.Binding<T> binding)
manualBinding in interface ru.vyarus.dropwizard.guice.module.installer.install.binding.BindingInstallerpublic void extensionBound(com.google.inject.Stage stage,
java.lang.Class<?> type)
extensionBound in interface ru.vyarus.dropwizard.guice.module.installer.install.binding.BindingInstallerpublic void report()
report in interface ru.vyarus.dropwizard.guice.module.installer.FeatureInstaller