org.codehaus.plexus.component.composition
Class MapOrientedComponentComposer

java.lang.Object
  extended by org.codehaus.plexus.logging.AbstractLogEnabled
      extended by org.codehaus.plexus.component.composition.AbstractComponentComposer
          extended by org.codehaus.plexus.component.composition.MapOrientedComponentComposer
All Implemented Interfaces:
ComponentComposer, LogEnabled

public class MapOrientedComponentComposer
extends AbstractComponentComposer


Field Summary
private static java.lang.String DEFAULT_MAPPING_TYPE
           
private static java.lang.String MAP_MAPPING_TYPE
           
private static java.lang.String SET_MAPPING_TYPE
           
private static java.lang.String SINGLE_MAPPING_TYPE
           
 
Fields inherited from interface org.codehaus.plexus.component.composition.ComponentComposer
ROLE
 
Constructor Summary
MapOrientedComponentComposer()
           
 
Method Summary
private  java.util.List addRequirement(MapOrientedComponent component, PlexusContainer container, ComponentRequirement requirement)
           
 java.util.List assembleComponent(java.lang.Object component, ComponentDescriptor componentDescriptor, PlexusContainer container)
           
 
Methods inherited from class org.codehaus.plexus.component.composition.AbstractComponentComposer
getId
 
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SINGLE_MAPPING_TYPE

private static final java.lang.String SINGLE_MAPPING_TYPE
See Also:
Constant Field Values

MAP_MAPPING_TYPE

private static final java.lang.String MAP_MAPPING_TYPE
See Also:
Constant Field Values

SET_MAPPING_TYPE

private static final java.lang.String SET_MAPPING_TYPE
See Also:
Constant Field Values

DEFAULT_MAPPING_TYPE

private static final java.lang.String DEFAULT_MAPPING_TYPE
See Also:
Constant Field Values
Constructor Detail

MapOrientedComponentComposer

public MapOrientedComponentComposer()
Method Detail

assembleComponent

public java.util.List assembleComponent(java.lang.Object component,
                                        ComponentDescriptor componentDescriptor,
                                        PlexusContainer container)
                                 throws CompositionException
Returns:
List of ComponentDescriptors which were used by ComponentComposer
Throws:
CompositionException

addRequirement

private java.util.List addRequirement(MapOrientedComponent component,
                                      PlexusContainer container,
                                      ComponentRequirement requirement)
                               throws CompositionException
Throws:
CompositionException