public interface CompositionResolver
Modifier and Type | Method and Description |
---|---|
void |
addComponentDescriptor(ComponentDescriptor componentDescriptor) |
List |
findRequirements(String componentKey)
Returns the list of names of components which are using the component.
|
List |
getRequirements(String componentKey)
Returns the list of names of components which are required
by the component of given componentKey.
|
void addComponentDescriptor(ComponentDescriptor componentDescriptor) throws CompositionException
componentDescriptor
- CompositionException
- when cycle is detectedList getRequirements(String componentKey)
componentKey
- The name of the component