public interface Binder
Users should be extending AbstractModule in order to
access a binder.
| Modifier and Type | Method and Description |
|---|---|
<T> BindingBuilder<T> |
bind(Class<T> type)
Start a binding with a class type.
|
<T> BindingBuilder<T> |
bind(Key<T> key)
Start a binding with a key.
|
<T> BindingBuilder<T> bind(Class<T> type)
T - The type of the classtype - The class<T> BindingBuilder<T> bind(Key<T> key)
T - The type of the keykey - The keyCopyright © 2015. All Rights Reserved.