Package | Description |
---|---|
org.grouplens.grapht | |
org.grouplens.grapht.solver |
Dependency resolution.
|
Modifier and Type | Method and Description |
---|---|
DesireChain |
Dependency.getDesireChain()
Get the desire chain associated with this dependency.
|
Modifier and Type | Method and Description |
---|---|
static Dependency |
Dependency.create(DesireChain desires,
EnumSet<Dependency.Flag> flags) |
protected String |
ResolutionException.format(InjectionContext ctx,
DesireChain desires) |
Modifier and Type | Method and Description |
---|---|
DesireChain |
DesireChain.extend(Desire d)
Extend this chain with a new desire.
|
DesireChain |
UnresolvableDependencyException.getDesireChain()
Get the entire desire chain in which resolution failed.
|
DesireChain |
DesireChain.getPreviousDesireChain()
Return the desire chain up to, but not including, the current desire.
|
static DesireChain |
DesireChain.singleton(Desire desire) |
Modifier and Type | Method and Description |
---|---|
static com.google.common.base.Predicate<DesireChain> |
DesireChain.hasInitialDesire(Desire d) |
Modifier and Type | Method and Description |
---|---|
BindingResult |
RuleBasedBindingFunction.bind(InjectionContext context,
DesireChain desire) |
BindingResult |
ProviderBindingFunction.bind(InjectionContext context,
DesireChain desires) |
BindingResult |
DefaultDesireBindingFunction.bind(InjectionContext context,
DesireChain dchain) |
BindingResult |
BindingFunction.bind(InjectionContext context,
DesireChain desire)
Find the applicable binding, if any, for a desire in a particular context.
|
Constructor and Description |
---|
MultipleBindingsException(DesireChain desires,
InjectionContext context,
Collection<?> bindings) |
UnresolvableDependencyException(DesireChain chain,
InjectionContext context) |
UnresolvableDependencyException(DesireChain chain,
InjectionContext context,
Throwable cause) |
Copyright © 2016 GroupLens Research. All rights reserved.