Package org.apache.tapestry5.internal
Class ComponentOverrideImpl
- java.lang.Object
-
- org.apache.tapestry5.internal.ComponentOverrideImpl
-
- All Implemented Interfaces:
ComponentOverride
public class ComponentOverrideImpl extends Object implements ComponentOverride
-
-
Constructor Summary
Constructors Constructor Description ComponentOverrideImpl(Map<Class,Class> contributions, org.slf4j.Logger logger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Constructor Detail
-
ComponentOverrideImpl
public ComponentOverrideImpl(Map<Class,Class> contributions, org.slf4j.Logger logger)
-
-
Method Detail
-
hasReplacements
public boolean hasReplacements()
Description copied from interface:ComponentOverride
Returns true if the service configuration is non-empty.- Specified by:
hasReplacements
in interfaceComponentOverride
-
getReplacement
public Class getReplacement(String className)
Description copied from interface:ComponentOverride
Returns the replacement for a class given its name.- Specified by:
getReplacement
in interfaceComponentOverride
- Parameters:
className
- the fully qualified class name.- Returns:
- a
Class
or null.
-
-