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