org.codehaus.plexus.component.composition.ComponentComposer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of virtdata-lib-realer Show documentation
Show all versions of virtdata-lib-realer Show documentation
With inspiration from other libraries
package org.codehaus.plexus.component.composition;
import org.codehaus.plexus.PlexusContainer;
import org.codehaus.plexus.component.repository.ComponentDescriptor;
import java.util.List;
/**
* @author Michal Maczka
* @version $Revision: 1323 $
* @todo michal: I think that ideally component composer should somehow participate in parsing of
* requiremnts section of configuration file
* as this section tells how to do the composition
*/
public interface ComponentComposer
{
static String ROLE = ComponentComposer.class.getName();
String getId();
/**
* @param component
* @param componentDescriptor
* @param container
*
* @return List of ComponentDescriptors which were used by ComponentComposer
* @throws CompositionException
* @throws UndefinedComponentComposerException
*
*/
public List assembleComponent( Object component,
ComponentDescriptor componentDescriptor,
PlexusContainer container )
throws CompositionException, UndefinedComponentComposerException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy