Package org.apache.tapestry5.ioc.services

## Interface ServiceOverride

- All Known Implementing Classes:
    `ServiceOverrideImpl`

      @UsesMappedConfiguration(key=java.lang.Class.class,
                               value=java.lang.Object.class)
      public interface ServiceOverride

  Used to override built in services. Simply contribute a mapping from a type to an instance of that type. Anywhere that exact type is injected, without specifying markers or other annotations, the contributed instance will be injected, even if there is already a service that implements the interface. In fact, this is not limited to overriding services; any object that can be injected based solely on type can be contributed.
  Since:
    5.1.0.0

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `ObjectProvider` | `getServiceOverrideProvider()` | Returns a provider based on the configuration; this is wired into the `MasterObjectProvider`'s configuration.

- - ### Method Detail

    - #### getServiceOverrideProvider

          ObjectProvider getServiceOverrideProvider()

      Returns a provider based on the configuration; this is wired into the `MasterObjectProvider`'s configuration.