Package | Description |
---|---|
org.grouplens.grapht | |
org.grouplens.grapht.context | |
org.grouplens.grapht.solver |
Dependency resolution.
|
Modifier and Type | Method and Description |
---|---|
protected String |
ResolutionException.format(InjectionContext ctx,
DesireChain desires) |
Modifier and Type | Method and Description |
---|---|
ContextMatch |
ContextPattern.matches(InjectionContext context) |
ContextMatch |
ContextMatcher.matches(InjectionContext context)
Attempt to match this context matcher against the specified context.
|
Modifier and Type | Method and Description |
---|---|
static InjectionContext |
InjectionContext.extend(InjectionContext prefix,
Satisfaction satisfaction,
InjectionPoint ip)
Extend or create an injection context.
|
InjectionContext |
InjectionContext.extend(Satisfaction satisfaction,
InjectionPoint ip)
Create a new context that is updated to have the satisfaction and attribute pushed to the
end of its type path.
|
InjectionContext |
UnresolvableDependencyException.getContext()
Get the context for this error.
|
InjectionContext |
MultipleBindingsException.getContext() |
InjectionContext |
InjectionContext.getLeading()
Get everything except the last element of this context.
|
static InjectionContext |
DependencySolver.initialContext()
Get an initial injection context.
|
static InjectionContext |
InjectionContext.singleton(Satisfaction satisfaction)
Construct a singleton injection context with no attributes.
|
static InjectionContext |
InjectionContext.singleton(Satisfaction satisfaction,
InjectionPoint ip)
Construct a singleton injection context.
|
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.
|
static InjectionContext |
InjectionContext.extend(InjectionContext prefix,
Satisfaction satisfaction,
InjectionPoint ip)
Extend or create an injection 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.