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
GuiceModulethat automatically binds types annotated withQualifierannotations.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSpaceModule.StrategyVisitor strategy.
-
Field Summary
Fields Modifier and Type Field Description static ClassFinderGLOBAL_INDEXstatic ClassFinderLOCAL_INDEXstatic ClassFinderLOCAL_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 voidconfigure(com.google.inject.Binder binder)com.google.inject.Modulewith(SpaceModule.Strategy _strategy)Applies a new visitorSpaceModule.Strategyto 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.Strategyto the current module.- Parameters:
_strategy- The new strategy- Returns:
- Updated module
-
configure
public void configure(com.google.inject.Binder binder)
- Specified by:
configurein interfacecom.google.inject.Module
-
-