Package org.eclipse.sisu.plexus
Class PlexusSpaceModule
- java.lang.Object
-
- org.eclipse.sisu.plexus.PlexusSpaceModule
-
- All Implemented Interfaces:
com.google.inject.Module
public final class PlexusSpaceModule extends java.lang.Object implements com.google.inject.Module
GuiceModule
that provides Plexus semantics without the full-blown Plexus container.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
PlexusSpaceModule.ParameterizedContext
Context
backed by SisuParameters
.
-
Field Summary
Fields Modifier and Type Field Description private BeanManager
delegate
private BeanScanning
scanning
private ClassSpace
space
-
Constructor Summary
Constructors Constructor Description PlexusSpaceModule(ClassSpace space)
PlexusSpaceModule(ClassSpace space, BeanScanning scanning)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure(com.google.inject.Binder binder)
PlexusSpaceModule
with(BeanManager manager)
Delegate management of non-Plexus beans to the givenBeanManager
.
-
-
-
Field Detail
-
space
private final ClassSpace space
-
scanning
private final BeanScanning scanning
-
delegate
private BeanManager delegate
-
-
Constructor Detail
-
PlexusSpaceModule
public PlexusSpaceModule(ClassSpace space)
-
PlexusSpaceModule
public PlexusSpaceModule(ClassSpace space, BeanScanning scanning)
-
-
Method Detail
-
configure
public void configure(com.google.inject.Binder binder)
- Specified by:
configure
in interfacecom.google.inject.Module
-
with
public PlexusSpaceModule with(BeanManager manager)
Delegate management of non-Plexus beans to the givenBeanManager
.
-
-