org.apache.tapestry5.ioc.internal.util

## Interface InjectionResources

- All Known Implementing Classes:
    DelegatingInjectionResources, MapInjectionResources, WrongConfigurationTypeGuard

      public interface InjectionResources

  Provides for the injection of specific types of values as resources as opposed to services or objects obtained from `MasterObjectProvider`. This includes values such as a service's logger, service interface class, or `ServiceResources`.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `<T> T` | `findResource(java.lang.Class<T> type, java.lang.reflect.Type genericType)` Given the field type, provide the matching resource value, or null.

- - ### Method Detail

    - #### findResource

          <T> T findResource(java.lang.Class<T> type,
                             java.lang.reflect.Type genericType)

      Given the field type, provide the matching resource value, or null.
      Parameters:
        `type` - type of field or parameter
        `genericType` - generic type information associated with field or parameter
      Returns:
        the corresponding value, or null

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