@Component(role=ConflictResolverFactory.class) public class DefaultConflictResolverFactory extends Object implements ConflictResolverFactory, Contextualizable
ROLE
Constructor and Description |
---|
DefaultConflictResolverFactory() |
Modifier and Type | Method and Description |
---|---|
void |
contextualize(Context context) |
ConflictResolver |
getConflictResolver(String type)
Gets a conflict resolver of the specified type.
|
public DefaultConflictResolverFactory()
public ConflictResolver getConflictResolver(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(Context context) throws ContextException
contextualize
in interface Contextualizable
ContextException
Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.