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 ComponentDescriptors.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final classPlexusBeanMetadatabacked by list ofComponentRequirements.private static final classprivate static final classPlexusBeanSourcebacked 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 associatedPlexusBeanSourcemetadata.(package private) static org.codehaus.plexus.component.annotations.ComponentnewComponent(ComponentDescriptor<?> cd) (package private) static org.codehaus.plexus.component.annotations.RequirementnewRequirement(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:PlexusBeanModuleContributes bindings and returns any associatedPlexusBeanSourcemetadata.- Specified by:
configurein interfacePlexusBeanModule- See Also:
-
newComponent
-
newRequirement
static org.codehaus.plexus.component.annotations.Requirement newRequirement(ClassSpace space, ComponentRequirement cr)
-