public class ComponentOverrideImpl extends Object implements ComponentOverride
Constructor and Description |
---|
ComponentOverrideImpl(Map<Class,Class> contributions,
org.slf4j.Logger logger) |
Modifier and Type | Method and Description |
---|---|
Class |
getReplacement(String className)
Returns the replacement for a class given its name.
|
boolean |
hasReplacements()
Returns true if the service configuration is non-empty.
|
public ComponentOverrideImpl(Map<Class,Class> contributions, org.slf4j.Logger logger)
public boolean hasReplacements()
ComponentOverride
hasReplacements
in interface ComponentOverride
public Class getReplacement(String className)
ComponentOverride
getReplacement
in interface ComponentOverride
className
- the fully qualified class name.Class
or null.${project.version} - Copyright © 2003-2015 The Apache Software Foundation.