|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.plexus.component.composition.DefaultCompositionResolver
public class DefaultCompositionResolver
| Field Summary |
|---|
| Fields inherited from interface org.codehaus.plexus.component.composition.CompositionResolver |
|---|
SEPARATOR_CHAR |
| Constructor Summary | |
|---|---|
DefaultCompositionResolver()
|
|
| Method Summary | |
|---|---|
void |
addComponentDescriptor(ComponentDescriptor componentDescriptor)
|
java.util.List |
findRequirements(java.lang.String role,
java.lang.String roleHint)
Returns the list of names of components which are using the component. |
java.util.List |
getRequirements(java.lang.String role,
java.lang.String roleHint)
Returns the list of names of components which are required by the component of given role and roleHint. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultCompositionResolver()
| Method Detail |
|---|
public void addComponentDescriptor(ComponentDescriptor componentDescriptor)
throws CompositionException
addComponentDescriptor in interface CompositionResolverCompositionException - when cycle is detected
public java.util.List getRequirements(java.lang.String role,
java.lang.String roleHint)
CompositionResolver
getRequirements in interface CompositionResolverrole - The name of the componentroleHint - The implementation hint of the component
CompositionResolver.getRequirements(String,String)
public java.util.List findRequirements(java.lang.String role,
java.lang.String roleHint)
CompositionResolver
findRequirements in interface CompositionResolverrole - The name of the componentroleHint - The implementation hint of the component
CompositionResolver.findRequirements(String,String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||