public interface BindingFunction
| Modifier and Type | Method and Description |
|---|---|
BindingResult |
bind(InjectionContext context,
DesireChain desire)
Find the applicable binding, if any, for a desire in a particular context.
|
@Nullable BindingResult bind(InjectionContext context, DesireChain desire) throws ResolutionException
context - The context.desire - The desire.desire, or null if there is no binding.ResolutionException - If there is an error (such as ambiguous bindings).Copyright © 2016 GroupLens Research. All rights reserved.