Package | Description |
---|---|
com.google.inject |
Google Guice (pronounced "juice") is an ultra-lightweight dependency
injection framework.
|
com.google.inject.assistedinject |
Extension for combining factory interfaces with injection; this extension requires
guice-assistedinject-3.0.jar . |
com.google.inject.grapher | |
com.google.inject.internal |
Guice (sounds like like "juice")
|
com.google.inject.multibindings |
Extension for binding multiple instances in a collection; this extension requires
guice-multibindings-3.0.jar . |
com.google.inject.servlet |
Servlet API scopes, bindings and registration; this extension requires
guice-servlet-3.0.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 | Interface and Description |
---|---|
interface |
AssistedInjectTargetVisitor<T,V>
A visitor for the AssistedInject extension.
|
Modifier and Type | Class and Description |
---|---|
class |
TransitiveDependencyVisitor
|
Modifier and Type | Method and Description |
---|---|
<B,V> V |
ProviderMethod.acceptExtensionVisitor(BindingTargetVisitor<B,V> visitor,
ProviderInstanceBinding<? extends B> binding) |
<V> V |
LinkedBindingImpl.acceptTargetVisitor(BindingTargetVisitor<? super T,V> visitor) |
<V> V |
ExposedBindingImpl.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 |
ServletModuleTargetVisitor<T,V>
A visitor for the servlet extension.
|
Modifier and Type | Method and Description |
---|---|
<B,V> V |
ServletDefinition.acceptExtensionVisitor(BindingTargetVisitor<B,V> visitor,
ProviderInstanceBinding<? extends B> binding) |
<B,V> V |
FilterDefinition.acceptExtensionVisitor(BindingTargetVisitor<B,V> visitor,
ProviderInstanceBinding<? extends B> binding) |
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–2015 Google, Inc.. All rights reserved.