Package | Description |
---|---|
org.grouplens.grapht | |
org.grouplens.grapht.solver |
Dependency resolution.
|
Modifier and Type | Method and Description |
---|---|
BindingFunction |
BindingFunctionBuilder.build(BindingFunctionBuilder.RuleSet set)
Return the built BindingFunction for the given RuleSet.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultDesireBindingFunction
A binding function that looks for
DefaultImplementation or
DefaultProvider on the desired type or the qualifier. |
class |
ProviderBindingFunction
BindingFunction that enables provider-injection.
|
class |
RuleBasedBindingFunction
BindingFunction that uses BindRules created by the fluent API to bind desires
to other desires or satisfactions.
|
Modifier and Type | Method and Description |
---|---|
List<BindingFunction> |
DependencySolverBuilder.getBindingFunctions()
Get the current list of binding functions.
|
List<BindingFunction> |
DependencySolverBuilder.getTriggerFunctions()
Get the current list of trigger binding functions.
|
Modifier and Type | Method and Description |
---|---|
DependencySolverBuilder |
DependencySolverBuilder.addBindingFunction(BindingFunction func)
Add a binding function to the dependency solver.
|
DependencySolverBuilder |
DependencySolverBuilder.addBindingFunction(BindingFunction func,
boolean canTriggerRewrite)
Add a binding function to the dependency solver.
|
DependencySolverBuilder |
DependencySolverBuilder.addBindingFunctions(BindingFunction... funcs)
Add multiple binding function to the dependency solver.
|
Modifier and Type | Method and Description |
---|---|
DependencySolverBuilder |
DependencySolverBuilder.addBindingFunctions(Iterable<BindingFunction> funcs)
Add multiple binding function to the dependency solver.
|
Constructor and Description |
---|
DefaultInjector(BindingFunction... functions)
Create a new DefaultInjector.
|
DefaultInjector(CachePolicy defaultPolicy,
BindingFunction... functions)
Create a new DefaultInjector.
|
DefaultInjector(CachePolicy defaultPolicy,
int maxDepth,
BindingFunction... functions)
Create a new DefaultInjector.
|
Copyright © 2016 GroupLens Research. All rights reserved.