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 and Description
    `ComponentOverrideImpl(Map<Class,Class> contributions, org.slf4j.Logger logger)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    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.

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

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

- - ### 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 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.

${project.version} - Copyright © 2003-2015 The Apache Software Foundation.