@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
ConflictResolverFactory
getConflictResolver
in interface ConflictResolverFactory
type
- 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.Contextualizable
org.codehaus.plexus.context.ContextException