public final class WireModule
extends java.lang.Object
implements com.google.inject.Module
Module that automatically adds BeanLocator-backed bindings for unresolved dependencies.| Modifier and Type | Class and Description |
|---|---|
static interface |
WireModule.Strategy
Wiring strategy.
|
| Modifier and Type | Field and Description |
|---|---|
(package private) static com.google.inject.Module[] |
CONVERTERS |
private java.lang.Iterable<com.google.inject.Module> |
modules |
private WireModule.Strategy |
strategy |
| Constructor and Description |
|---|
WireModule(java.lang.Iterable<com.google.inject.Module> modules) |
WireModule(com.google.inject.Module... modules) |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(com.google.inject.Binder binder) |
com.google.inject.Module |
with(WireModule.Strategy _strategy)
Applies a new wiring
WireModule.Strategy to the current module. |
static final com.google.inject.Module[] CONVERTERS
private final java.lang.Iterable<com.google.inject.Module> modules
private WireModule.Strategy strategy
public WireModule(com.google.inject.Module... modules)
public WireModule(java.lang.Iterable<com.google.inject.Module> modules)
public com.google.inject.Module with(WireModule.Strategy _strategy)
WireModule.Strategy to the current module._strategy - The new strategypublic void configure(com.google.inject.Binder binder)
configure in interface com.google.inject.Module