Package | Description |
---|---|
org.grouplens.grapht | |
org.grouplens.grapht.solver |
Dependency resolution.
|
Modifier and Type | Class and Description |
---|---|
class |
ConstructionException
Thrown when there is an error constructing a component.
|
class |
NullDependencyException
A non-null dependency had a null resolution.
|
class |
ResolutionException
Exception thrown when there is a dependency resolution error.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
Injector.getInstance(Annotation qualifier,
Class<T> type)
Get an instance of T with the given
Qualifier annotation. |
<T> T |
Injector.getInstance(Class<T> type)
Get an instance of T based on the bindings that this Injector was
configured with.
|
<T> T |
Injector.tryGetInstance(Annotation qualifier,
Class<T> type)
Try to get an instance of a component, returning
null if the component
does not have a configured implementation. |
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 |
SolverException
Deprecated.
|
class |
UnresolvableDependencyException
Thrown when a desire cannot be resolved to an instantiable satisfaction.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
DefaultInjector.getInstance(Annotation qualifier,
Class<T> type) |
<T> T |
DefaultInjector.getInstance(Class<T> type) |
<T> T |
DefaultInjector.tryGetInstance(Annotation qualifier,
Class<T> type) |
Copyright © 2016 GroupLens Research. All rights reserved.