org.codehaus.plexus.component.composition

Class ConstructorComponentComposer

public class ConstructorComponentComposer extends AbstractComponentComposer

note:jvz This really indicates there is a flaw in the design of the component composer as constructors will not work. If the component has no default constructor then the component must be created with using the constructor that has requirements as its parameters. So in this case the factory is the means of composition as well. Really you need to collect all the information and create and compose.

Version: $Id: ConstructorComponentComposer.java 6976 2007-10-21 16:11:08Z jvanzyl $

Author: Jason van Zyl

Method Summary
voidassignRequirement(Object component, ComponentDescriptor componentDescriptor, ComponentRequirement requirement, PlexusContainer container, Map compositionContext, ClassRealm lookupRealm)
StringgetId()

Method Detail

assignRequirement

public void assignRequirement(Object component, ComponentDescriptor componentDescriptor, ComponentRequirement requirement, PlexusContainer container, Map compositionContext, ClassRealm lookupRealm)

getId

public String getId()