public interface Binder
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Binder.BindingContext
Context to register required bindings for a component.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends Component> |
bindComponent(Class<T> componentClass)
Start binding a component (Collection of services).
|
<T> ServiceConfigurator<T> |
bindService(Class<T> implementationClass)
Start binging a service from the specific implementation class.
|
<T> ServiceConfigurator<T> |
bindService(T implementation)
Start binging a service from the specific implementation instance.
|
<T> ServiceConfigurator<T> bindService(Class<T> implementationClass)
<T> ServiceConfigurator<T> bindService(T implementation)
Copyright © 2015. All rights reserved.