Package | Description |
---|---|
com.google.inject |
Google Guice (pronounced "juice") is an ultra-lightweight dependency injection framework.
|
com.google.inject.internal |
Guice (sounds like "juice")
|
com.google.inject.multibindings |
Extension for binding multiple instances in a collection; this extension requires
guice-multibindings.jar . |
com.google.inject.spi |
Guice service provider interface
|
Modifier and Type | Method and Description |
---|---|
<V> V |
Binding.acceptTargetVisitor(BindingTargetVisitor<? super T,V> visitor)
Accepts a target visitor.
|
Modifier and Type | Method and Description |
---|---|
<B,V> V |
ProviderMethod.acceptExtensionVisitor(BindingTargetVisitor<B,V> visitor,
ProviderInstanceBinding<? extends B> binding) |
<V> V |
ExposedBindingImpl.acceptTargetVisitor(BindingTargetVisitor<? super T,V> visitor) |
<V> V |
LinkedBindingImpl.acceptTargetVisitor(BindingTargetVisitor<? super T,V> visitor) |
Modifier and Type | Interface and Description |
---|---|
interface |
MultibindingsTargetVisitor<T,V>
A visitor for the multibinder extension.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ProvidesMethodTargetVisitor<T,V>
A visitor for the @
Provides bindings. |
Modifier and Type | Class and Description |
---|---|
class |
DefaultBindingTargetVisitor<T,V>
No-op visitor for subclassing.
|
Modifier and Type | Method and Description |
---|---|
<B,V> V |
ProviderWithExtensionVisitor.acceptExtensionVisitor(BindingTargetVisitor<B,V> visitor,
ProviderInstanceBinding<? extends B> binding)
Instructs the extension determine if the visitor is an instance of a custom extension visitor,
and if so, visit it using that method.
|
Copyright © 2006–2018 Google, Inc.. All rights reserved.