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

org.codehaus.plexus.component.composition.CompositionResolver 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.component.repository.ComponentDescriptor;

import java.util.List;

/**
 *
 *
 * @author Jason van Zyl
 * @author Michal Maczka
 *
 * @version $Id: CompositionResolver.java 1323 2004-12-20 23:00:59Z jvanzyl $
 */
public interface CompositionResolver
{

    /**
     *
     * @param componentDescriptor
     * @throws CompositionException when cycle is detected
     */
    void addComponentDescriptor( ComponentDescriptor componentDescriptor ) throws CompositionException;
    
    /**
     * Returns the list of names of components which are required  
     * by the component of given componentKey.
     * 
     * @param componentKey The name of the component
     * @return The list of components which are required by given component 
     */
    List getRequirements( String componentKey );
    
    
    /**
     * Returns the list of names of components which are using the component.
     * of given componentKey
     * 
     * @param componentKey The name of the component
     * @return The list of components which are requiring given component 
     */
    List findRequirements( String componentKey );
    
    
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy