Package org.eclipse.sisu.plexus
Class ComponentDescriptorBeanModule
java.lang.Object
org.eclipse.sisu.plexus.ComponentDescriptorBeanModule
- All Implemented Interfaces:
PlexusBeanModule
PlexusBeanModule
that binds Plexus components according to their ComponentDescriptor
s.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final class
PlexusBeanMetadata
backed by list ofComponentRequirement
s.private static final class
private static final class
PlexusBeanSource
backed by simple map ofPlexusBeanMetadata
. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Map<org.codehaus.plexus.component.annotations.Component,
DeferredClass<?>> private final Map<String,
PlexusBeanMetadata> private final ClassSpace
-
Constructor Summary
ConstructorsConstructorDescriptionComponentDescriptorBeanModule
(ClassSpace space, List<ComponentDescriptor<?>> descriptors) -
Method Summary
Modifier and TypeMethodDescriptionconfigure
(com.google.inject.Binder binder) Contributes bindings and returns any associatedPlexusBeanSource
metadata.(package private) static org.codehaus.plexus.component.annotations.Component
newComponent
(ComponentDescriptor<?> cd) (package private) static org.codehaus.plexus.component.annotations.Requirement
newRequirement
(ClassSpace space, ComponentRequirement cr)
-
Field Details
-
space
-
componentMap
private final Map<org.codehaus.plexus.component.annotations.Component,DeferredClass<?>> componentMap -
metadataMap
-
-
Constructor Details
-
ComponentDescriptorBeanModule
-
-
Method Details
-
configure
Description copied from interface:PlexusBeanModule
Contributes bindings and returns any associatedPlexusBeanSource
metadata.- Specified by:
configure
in interfacePlexusBeanModule
- See Also:
-
Module.configure(Binder)
-
newComponent
-
newRequirement
static org.codehaus.plexus.component.annotations.Requirement newRequirement(ClassSpace space, ComponentRequirement cr)
-