| Package | Description |
|---|---|
| com.google.inject.internal |
Guice (sounds like "juice")
|
| Modifier and Type | Field and Description |
|---|---|
static Scoping |
Scoping.EAGER_SINGLETON |
static Scoping |
Scoping.SINGLETON_ANNOTATION |
static Scoping |
Scoping.SINGLETON_INSTANCE |
static Scoping |
Scoping.UNSCOPED
No scoping annotation has been applied.
|
| Modifier and Type | Method and Description |
|---|---|
static Scoping |
Scoping.forAnnotation(Class<? extends Annotation> scopingAnnotation) |
static Scoping |
Scoping.forInstance(Scope scope) |
Scoping |
BindingImpl.getScoping() |
| Modifier and Type | Method and Description |
|---|---|
BindingImpl<T> |
LinkedBindingImpl.withScoping(Scoping scoping) |
protected BindingImpl<T> |
BindingImpl.withScoping(Scoping scoping) |
| Constructor and Description |
|---|
BindingImpl(com.google.inject.internal.InjectorImpl injector,
Key<T> key,
Object source,
com.google.inject.internal.InternalFactory<? extends T> internalFactory,
Scoping scoping) |
BindingImpl(Object source,
Key<T> key,
Scoping scoping) |
LinkedBindingImpl(com.google.inject.internal.InjectorImpl injector,
Key<T> key,
Object source,
com.google.inject.internal.InternalFactory<? extends T> internalFactory,
Scoping scoping,
Key<? extends T> targetKey) |
LinkedBindingImpl(Object source,
Key<T> key,
Scoping scoping,
Key<? extends T> targetKey) |
Copyright © 2006–2018 Google, Inc.. All rights reserved.