Package | Description |
---|---|
com.google.inject.binder |
Interfaces which make up
Binder 's expression language. |
com.google.inject.internal |
Guice (sounds like "juice")
|
Modifier and Type | Interface and Description |
---|---|
interface |
AnnotatedBindingBuilder<T>
See the EDSL examples at
Binder . |
interface |
LinkedBindingBuilder<T>
See the EDSL examples at
Binder . |
Modifier and Type | Method and Description |
---|---|
ScopedBindingBuilder |
LinkedBindingBuilder.to(Class<? extends T> implementation)
See the EDSL examples at
Binder . |
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 . |
<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(Class<? extends javax.inject.Provider<? extends T>> providerType)
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(javax.inject.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 . |
Modifier and Type | Class and Description |
---|---|
class |
BindingBuilder<T>
Bind a non-constant key.
|
Modifier and Type | Method and 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 and Description |
---|---|
abstract void |
Scoping.applyTo(ScopedBindingBuilder scopedBindingBuilder) |
Copyright © 2006–2018 Google, Inc.. All rights reserved.