All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.codehaus.plexus.component.composition.ComponentComposer Maven / Gradle / Ivy

Go to download

Statistical sampling library for use in virtdata libraries, based on apache commons math 4

There is a newer version: 5.17.0
Show newest version
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 - 2024 Weber Informatics LLC | Privacy Policy