org.codehaus.plexus.component.composition.CompositionResolver 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.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 - 2025 Weber Informatics LLC | Privacy Policy