@Component(role=ConflictResolverFactory.class) public class DefaultConflictResolverFactory extends java.lang.Object implements ConflictResolverFactory, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
| Modifier and Type | Field and Description |
|---|---|
private org.codehaus.plexus.PlexusContainer |
container
The plexus container used to obtain instances from.
|
ROLE| Constructor and Description |
|---|
DefaultConflictResolverFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
contextualize(org.codehaus.plexus.context.Context context) |
ConflictResolver |
getConflictResolver(java.lang.String type)
Gets a conflict resolver of the specified type.
|
@Requirement private org.codehaus.plexus.PlexusContainer container
public ConflictResolver getConflictResolver(java.lang.String type) throws ConflictResolverNotFoundException
ConflictResolverFactorygetConflictResolver in interface ConflictResolverFactorytype - the type of conflict resolver to obtainConflictResolverNotFoundException - if the specified type was not foundpublic void contextualize(org.codehaus.plexus.context.Context context)
throws org.codehaus.plexus.context.ContextException
contextualize in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizableorg.codehaus.plexus.context.ContextException