public abstract class AbstractModule extends java.lang.Object implements Module
Modifier and Type | Field and Description |
---|---|
protected java.util.List<Binding<?>> |
bindings |
protected boolean |
configured |
protected BindingBuilder<?> |
currentBinding |
Constructor and Description |
---|
AbstractModule() |
Modifier and Type | Method and Description |
---|---|
protected <T> AnnotatedBindingBuilder<T> |
bind(java.lang.Class<T> clazz) |
void |
configure() |
protected abstract void |
doConfigure() |
java.util.List<Binding<?>> |
getBindings() |
protected final java.util.List<Binding<?>> bindings
protected BindingBuilder<?> currentBinding
protected boolean configured
protected abstract void doConfigure()
@Nonnull public final java.util.List<Binding<?>> getBindings()
getBindings
in interface Module
protected <T> AnnotatedBindingBuilder<T> bind(@Nonnull java.lang.Class<T> clazz)