public final class WireModule extends 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.
|
Constructor and Description |
---|
WireModule(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. |
public WireModule(com.google.inject.Module... modules)
public WireModule(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
Copyright © 2015. All rights reserved.