Package | Description |
---|---|
org.grouplens.grapht.solver |
Dependency resolution.
|
Modifier and Type | Class and Description |
---|---|
class |
CyclicDependencyException
Thrown by when a cyclic dependency is detected and could not be broken or
bypassed by the solver.
|
class |
MultipleBindingsException
Thrown when a BindingFunction would be required to return multiple binding
results for a given desire and context.
|
class |
UnresolvableDependencyException
Thrown when a desire cannot be resolved to an instantiable satisfaction.
|
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.
|
void |
DependencySolver.resolve(Desire desire)
Update the dependency graph to include the given desire.
|
DAGNode<Component,Dependency> |
DependencySolver.rewrite(DAGNode<Component,Dependency> graph)
Rewrite a dependency graph using the rules in this solver.
|
Copyright © 2016 GroupLens Research. All rights reserved.