public interface CompositionResolver
| Modifier and Type | Field and Description |
|---|---|
static char |
SEPARATOR_CHAR |
| Modifier and Type | Method and Description |
|---|---|
void |
addComponentDescriptor(ComponentDescriptor<?> componentDescriptor) |
List |
findRequirements(String role,
String roleHint)
Returns the list of names of components which are using the component.
|
List |
getRequirements(String role,
String roleHint)
Returns the list of names of components which are required
by the component of given role and roleHint.
|
static final char SEPARATOR_CHAR
void addComponentDescriptor(ComponentDescriptor<?> componentDescriptor) throws CycleDetectedInComponentGraphException
componentDescriptor - ComponentDescriptor.CycleDetectedInComponentGraphException - when cycle is detectedList getRequirements(String role, String roleHint)
role - The name of the componentroleHint - The implementation hint of the componentList findRequirements(String role, String roleHint)
role - The name of the componentroleHint - The implementation hint of the componentCopyright © 2001–2019 Codehaus Plexus. All rights reserved.