public final class SpaceModule extends Object implements com.google.inject.Module
Module
that automatically binds types annotated with Qualifier
annotations.Modifier and Type | Class and Description |
---|---|
static interface |
SpaceModule.Strategy
Visitor strategy.
|
Modifier and Type | Field and Description |
---|---|
static ClassFinder |
GLOBAL_INDEX |
static ClassFinder |
LOCAL_INDEX |
static ClassFinder |
LOCAL_SCAN |
Constructor and Description |
---|
SpaceModule(ClassSpace space) |
SpaceModule(ClassSpace space,
BeanScanning scanning) |
SpaceModule(ClassSpace space,
ClassFinder finder) |
Modifier and Type | Method and 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
Copyright © 2016. All rights reserved.