Package org.eclipse.sisu.space
Class SpaceModule
java.lang.Object
org.eclipse.sisu.space.SpaceModule
- All Implemented Interfaces:
com.google.inject.Module
Guice
Module that automatically binds types annotated with Qualifier annotations.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final classstatic interfaceVisitor strategy. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanprivate final ClassFinderstatic final ClassFinderstatic final ClassFinderstatic final ClassFinderprivate static final Stringprivate final ClassSpaceprivate SpaceModule.Strategy -
Constructor Summary
ConstructorsConstructorDescriptionSpaceModule(ClassSpace space) SpaceModule(ClassSpace space, BeanScanning scanning) SpaceModule(ClassSpace space, ClassFinder finder) -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(com.google.inject.Binder binder) private voidrecordAndReplayElements(com.google.inject.Binder binder) private static voidreplayRecordedElements(com.google.inject.Binder binder, List<com.google.inject.spi.Element> elements) (package private) voidscanForElements(com.google.inject.Binder binder) com.google.inject.Modulewith(SpaceModule.Strategy _strategy) Applies a new visitorSpaceModule.Strategyto the current module.
-
Field Details
-
NAMED_INDEX
- See Also:
-
LOCAL_INDEX
-
GLOBAL_INDEX
-
LOCAL_SCAN
-
caching
private final boolean caching -
space
-
finder
-
strategy
-
-
Constructor Details
-
SpaceModule
-
SpaceModule
-
SpaceModule
-
-
Method Details
-
with
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
-
scanForElements
void scanForElements(com.google.inject.Binder binder) -
recordAndReplayElements
private void recordAndReplayElements(com.google.inject.Binder binder) -
replayRecordedElements
private static void replayRecordedElements(com.google.inject.Binder binder, List<com.google.inject.spi.Element> elements)
-