org.codehaus.plexus.component.composition
Class ConstructorComponentComposer
java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
org.codehaus.plexus.component.composition.AbstractComponentComposer
org.codehaus.plexus.component.composition.ConstructorComponentComposer
- All Implemented Interfaces:
- ComponentComposer, LogEnabled
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 3329 2006-05-23 06:47:54Z jvanzyl $
- Author:
- Jason van Zyl
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConstructorComponentComposer
public ConstructorComponentComposer()
assignRequirement
public void assignRequirement(java.lang.Object component,
ComponentDescriptor componentDescriptor,
ComponentRequirement requirement,
PlexusContainer container,
java.util.Map compositionContext)
throws CompositionException
- Throws:
CompositionException
Copyright © 2001-2006 Codehaus. All Rights Reserved.