Package org.eclipse.sisu.space
Class SpaceModule
- java.lang.Object
-
- org.eclipse.sisu.space.SpaceModule
-
- All Implemented Interfaces:
com.google.inject.Module
public final class SpaceModule extends Object implements com.google.inject.Module
GuiceModule
that automatically binds types annotated withQualifier
annotations.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
SpaceModule.Strategy
Visitor strategy.
-
Field Summary
Fields Modifier and Type Field Description static ClassFinder
GLOBAL_INDEX
static ClassFinder
LOCAL_INDEX
static ClassFinder
LOCAL_SCAN
-
Constructor Summary
Constructors Constructor Description SpaceModule(ClassSpace space)
SpaceModule(ClassSpace space, BeanScanning scanning)
SpaceModule(ClassSpace space, ClassFinder finder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure(com.google.inject.Binder binder)
com.google.inject.Module
with(SpaceModule.Strategy _strategy)
Applies a new visitorSpaceModule.Strategy
to the current module.
-
-
-
Field Detail
-
LOCAL_INDEX
public static final ClassFinder LOCAL_INDEX
-
GLOBAL_INDEX
public static final ClassFinder GLOBAL_INDEX
-
LOCAL_SCAN
public static final ClassFinder LOCAL_SCAN
-
-
Constructor Detail
-
SpaceModule
public SpaceModule(ClassSpace space)
-
SpaceModule
public SpaceModule(ClassSpace space, ClassFinder finder)
-
SpaceModule
public SpaceModule(ClassSpace space, BeanScanning scanning)
-
-
Method Detail
-
with
public com.google.inject.Module with(SpaceModule.Strategy _strategy)
Applies a new visitorSpaceModule.Strategy
to the current module.- Parameters:
_strategy
- The new strategy- Returns:
- Updated module
-
configure
public void configure(com.google.inject.Binder binder)
- Specified by:
configure
in interfacecom.google.inject.Module
-
-