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

  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.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### ComponentOverrideImpl

    public ComponentOverrideImpl(Map<Class,Class> contributions, org.slf4j.Logger logger)

- ## Method Details

  - ### hasReplacements

    public boolean hasReplacements()
    Description copied from interface: `ComponentOverride`
    Returns true if the service configuration is non-empty.
    Specified by:
      `hasReplacements` in interface `ComponentOverride`

  - ### getReplacement

    public Class getReplacement(String className)
    Description copied from interface: `ComponentOverride`
    Returns the replacement for a class given its name.
    Specified by:
      `getReplacement` in interface `ComponentOverride`
    Parameters:
      `className` - the fully qualified class name.
    Returns:
      a `Class` or null.