Package | Description |
---|---|
com.google.inject.binder |
Interfaces which make up
Binder 's expression language. |
com.google.inject.internal |
Guice (sounds like "juice")
|
com.google.inject.throwingproviders |
Extension for injecting objects that may throw at provision time; this extension requires
guice-throwingproviders.jar . |
Modifier and Type | Interface | Description |
---|---|---|
interface |
AnnotatedBindingBuilder<T> |
See the EDSL examples at
Binder . |
interface |
LinkedBindingBuilder<T> |
See the EDSL examples at
Binder . |
Modifier and Type | Method | Description |
---|---|---|
ScopedBindingBuilder |
LinkedBindingBuilder.to(Key<? extends T> targetKey) |
See the EDSL examples at
Binder . |
ScopedBindingBuilder |
LinkedBindingBuilder.to(TypeLiteral<? extends T> implementation) |
See the EDSL examples at
Binder . |
ScopedBindingBuilder |
LinkedBindingBuilder.to(Class<? extends T> implementation) |
See the EDSL examples at
Binder . |
<S extends T> |
LinkedBindingBuilder.toConstructor(Constructor<S> constructor) |
See the EDSL examples at
Binder . |
<S extends T> |
LinkedBindingBuilder.toConstructor(Constructor<S> constructor,
TypeLiteral<? extends S> type) |
See the EDSL examples at
Binder . |
ScopedBindingBuilder |
LinkedBindingBuilder.toProvider(Key<? extends javax.inject.Provider<? extends T>> providerKey) |
See the EDSL examples at
Binder . |
ScopedBindingBuilder |
LinkedBindingBuilder.toProvider(Provider<? extends T> provider) |
See the EDSL examples at
Binder . |
ScopedBindingBuilder |
LinkedBindingBuilder.toProvider(TypeLiteral<? extends javax.inject.Provider<? extends T>> providerType) |
See the EDSL examples at
Binder . |
ScopedBindingBuilder |
LinkedBindingBuilder.toProvider(Class<? extends javax.inject.Provider<? extends T>> providerType) |
See the EDSL examples at
Binder . |
ScopedBindingBuilder |
LinkedBindingBuilder.toProvider(javax.inject.Provider<? extends T> provider) |
See the EDSL examples at
Binder . |
Modifier and Type | Class | Description |
---|---|---|
class |
BindingBuilder<T> |
Bind a non-constant key.
|
Modifier and Type | Method | Description |
---|---|---|
<S extends T> |
BindingBuilder.toConstructor(Constructor<S> constructor) |
|
<S extends T> |
BindingBuilder.toConstructor(Constructor<S> constructor,
TypeLiteral<? extends S> type) |
Modifier and Type | Method | Description |
---|---|---|
abstract void |
Scoping.applyTo(ScopedBindingBuilder scopedBindingBuilder) |
Modifier and Type | Method | Description |
---|---|---|
ScopedBindingBuilder |
ThrowingProviderBinder.SecondaryBinder.providing(TypeLiteral<? extends T> cxtorLiteral) |
|
ScopedBindingBuilder |
ThrowingProviderBinder.SecondaryBinder.providing(Class<? extends T> cxtorClass) |
|
ScopedBindingBuilder |
ThrowingProviderBinder.SecondaryBinder.to(Key<? extends P> targetKey) |
|
ScopedBindingBuilder |
ThrowingProviderBinder.SecondaryBinder.to(Class<? extends P> targetType) |
|
ScopedBindingBuilder |
ThrowingProviderBinder.SecondaryBinder.to(P target) |
Copyright © 2006–2018 Google, Inc.. All rights reserved.