com.google.inject.Modulepublic final class SpaceModule
extends java.lang.Object
implements com.google.inject.Module
Module that automatically binds types annotated with Qualifier annotations.| Modifier and Type | Class | Description |
|---|---|---|
static interface |
SpaceModule.Strategy |
Visitor strategy.
|
| Modifier and Type | Field | Description |
|---|---|---|
static ClassFinder |
GLOBAL_INDEX |
|
static ClassFinder |
LOCAL_INDEX |
|
static ClassFinder |
LOCAL_SCAN |
| Constructor | Description |
|---|---|
SpaceModule(ClassSpace space) |
|
SpaceModule(ClassSpace space,
BeanScanning scanning) |
|
SpaceModule(ClassSpace space,
ClassFinder finder) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
configure(com.google.inject.Binder binder) |
|
com.google.inject.Module |
with(SpaceModule.Strategy _strategy) |
Applies a new visitor
SpaceModule.Strategy to the current module. |
public static final ClassFinder LOCAL_INDEX
public static final ClassFinder GLOBAL_INDEX
public static final ClassFinder LOCAL_SCAN
public SpaceModule(ClassSpace space)
public SpaceModule(ClassSpace space, ClassFinder finder)
public SpaceModule(ClassSpace space, BeanScanning scanning)
public com.google.inject.Module with(SpaceModule.Strategy _strategy)
SpaceModule.Strategy to the current module._strategy - The new strategypublic void configure(com.google.inject.Binder binder)
configure in interface com.google.inject.Module