public final class PlexusSpaceModule
extends java.lang.Object
implements com.google.inject.Module
Module
that provides Plexus semantics without the full-blown Plexus container.Modifier and Type | Class and Description |
---|---|
(package private) static class |
PlexusSpaceModule.ParameterizedContext
Context backed by Sisu Parameters . |
Modifier and Type | Field and Description |
---|---|
private BeanManager |
delegate |
private BeanScanning |
scanning |
private ClassSpace |
space |
Constructor and Description |
---|
PlexusSpaceModule(ClassSpace space) |
PlexusSpaceModule(ClassSpace space,
BeanScanning scanning) |
Modifier and Type | Method and Description |
---|---|
void |
configure(com.google.inject.Binder binder) |
PlexusSpaceModule |
with(BeanManager manager)
Delegate management of non-Plexus beans to the given
BeanManager . |
private final ClassSpace space
private final BeanScanning scanning
private BeanManager delegate
public PlexusSpaceModule(ClassSpace space)
public PlexusSpaceModule(ClassSpace space, BeanScanning scanning)
public void configure(com.google.inject.Binder binder)
configure
in interface com.google.inject.Module
public PlexusSpaceModule with(BeanManager manager)
BeanManager
.