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 java.lang.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)
Deprecated.UseSpaceModule(ClassSpace, ClassFinder, boolean)
instead.SpaceModule(ClassSpace space, BeanScanning scanning)
Deprecated.UseSpaceModule(ClassSpace, ClassFinder, boolean)
insteadSpaceModule(ClassSpace space, BeanScanning scanning, boolean isStrict)
SpaceModule(ClassSpace space, ClassFinder finder)
Deprecated.UseSpaceModule(ClassSpace, ClassFinder, boolean)
instead.SpaceModule(ClassSpace space, ClassFinder finder, boolean isStrict)
-
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
@Deprecated public SpaceModule(ClassSpace space)
Deprecated.UseSpaceModule(ClassSpace, ClassFinder, boolean)
instead.- Parameters:
space
-
-
SpaceModule
@Deprecated public SpaceModule(ClassSpace space, ClassFinder finder)
Deprecated.UseSpaceModule(ClassSpace, ClassFinder, boolean)
instead.- Parameters:
space
-finder
-
-
SpaceModule
public SpaceModule(ClassSpace space, ClassFinder finder, boolean isStrict)
-
SpaceModule
@Deprecated public SpaceModule(ClassSpace space, BeanScanning scanning)
Deprecated.UseSpaceModule(ClassSpace, ClassFinder, boolean)
instead- Parameters:
space
-scanning
-
-
SpaceModule
public SpaceModule(ClassSpace space, BeanScanning scanning, boolean isStrict)
-
-
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
-
-