Package | Description |
---|---|
org.grouplens.grapht |
Modifier and Type | Method and Description |
---|---|
<T> Binding<T> |
Context.bind(Class<? extends Annotation> qual,
Class<T> type)
Start a new binding for a qualified type.
|
<T> Binding<T> |
AbstractContext.bind(Class<? extends Annotation> qual,
Class<T> type) |
<T> Binding<T> |
InjectorBuilder.bind(Class<T> type) |
<T> Binding<T> |
Context.bind(Class<T> type)
Start a new binding for the given type T within the scope of this
context.
|
<T> Binding<T> |
InjectorBuilder.bindAny(Class<T> type) |
<T> Binding<T> |
Context.bindAny(Class<T> type)
Start a new binding for a type irrespective of qualifier.
|
<T> Binding<T> |
AbstractContext.bindAny(Class<T> type) |
Binding<T> |
Binding.exclude(Class<?> exclude)
Exclude the provided type from being matched when examining injection
points.
|
Binding<T> |
Binding.fixed()
Configure the binding so that its results are 'fixed'.
|
Binding<T> |
Binding.shared()
Configure the binding so that a shared instance is always used when
satisfying matched injection points, effectively making it a singleton or
memoized within its container.
|
Binding<T> |
Binding.unqualified()
Configure the binding to only match injection points that have no
qualifier.
|
Binding<T> |
Binding.unshared()
Configure the binding so that new instances are always created when
satisfying matched injection.
|
Binding<T> |
Binding.withAnyQualifier()
Configure the binding to match injection points that have any qualifier annotation (including
no qualifier).
|
Binding<T> |
Binding.withQualifier(Annotation annot)
Configure the binding to match injection points that have been annotated with the exact
annotation instance.
|
Binding<T> |
Binding.withQualifier(Class<? extends Annotation> qualifier)
Configure the binding to match the given
Qualifier annotation. |
Copyright © 2016 GroupLens Research. All rights reserved.