Package | Description |
---|---|
org.grouplens.grapht | |
org.grouplens.grapht.solver |
Dependency resolution.
|
Modifier and Type | Method and Description |
---|---|
static Component |
Component.create(Satisfaction satisfaction,
CachePolicy policy)
Create a new Component wrapping the given satisfaction and cache policy.
|
Modifier and Type | Method and Description |
---|---|
Instantiator |
InjectionContainer.makeInstantiator(DAGNode<Component,Dependency> node)
Get a provider that, when invoked, will return an instance of the component represented
by a graph.
|
Instantiator |
InjectionContainer.makeInstantiator(DAGNode<Component,Dependency> node,
com.google.common.collect.SetMultimap<DAGNode<Component,Dependency>,DAGEdge<Component,Dependency>> backEdges)
Get a provider that, when invoked, will return an instance of the component represented
by a graph with back edges.
|
Instantiator |
InjectionContainer.makeInstantiator(DAGNode<Component,Dependency> node,
com.google.common.collect.SetMultimap<DAGNode<Component,Dependency>,DAGEdge<Component,Dependency>> backEdges)
Get a provider that, when invoked, will return an instance of the component represented
by a graph with back edges.
|
Instantiator |
InjectionContainer.makeInstantiator(DAGNode<Component,Dependency> node,
com.google.common.collect.SetMultimap<DAGNode<Component,Dependency>,DAGEdge<Component,Dependency>> backEdges)
Get a provider that, when invoked, will return an instance of the component represented
by a graph with back edges.
|
Modifier and Type | Field and Description |
---|---|
static Component |
DependencySolver.ROOT_SATISFACTION |
Modifier and Type | Method and Description |
---|---|
DAGNode<Component,Dependency> |
DependencySolver.getBackEdge(DAGNode<Component,Dependency> parent,
Desire desire)
Get the back edge for a particular node and desire, if one exists.
|
com.google.common.collect.SetMultimap<DAGNode<Component,Dependency>,DAGEdge<Component,Dependency>> |
DependencySolver.getBackEdges()
Get the map of back-edges for circular dependencies.
|
com.google.common.collect.SetMultimap<DAGNode<Component,Dependency>,DAGEdge<Component,Dependency>> |
DependencySolver.getBackEdges()
Get the map of back-edges for circular dependencies.
|
DAGNode<Component,Dependency> |
DependencySolver.getGraph()
Get the current full dependency graph.
|
DAGNode<Component,Dependency> |
DependencySolver.getRootNode()
Deprecated.
Use
DependencySolver.getGraph() instead. |
DAGNode<Component,Dependency> |
DependencySolver.rewrite(DAGNode<Component,Dependency> graph)
Rewrite a dependency graph using the rules in this solver.
|
static DAGNode<Component,Dependency> |
DependencySolver.rootNode()
Get a singleton root node for a dependency graph.
|
Modifier and Type | Method and Description |
---|---|
DAGNode<Component,Dependency> |
DependencySolver.getBackEdge(DAGNode<Component,Dependency> parent,
Desire desire)
Get the back edge for a particular node and desire, if one exists.
|
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.