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.5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.