Package org.apache.tapestry5.ioc.internal.util

# Class DelegatingInjectionResources

java.lang.Object
org.apache.tapestry5.ioc.internal.util.DelegatingInjectionResources

All Implemented Interfaces:
  `InjectionResources`

public class DelegatingInjectionResources extends Object implements InjectionResources
Chain of command for InjectionDefaultProvider.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DelegatingInjectionResources(InjectionResources first, InjectionResources next)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `<T> T`
  `findResource(Class<T> type, Type genericType)`
  Given the field type, provide the matching resource value, or null.

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

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

- ## Constructor Details

  - ### DelegatingInjectionResources

    public DelegatingInjectionResources(InjectionResources first, InjectionResources next)

- ## Method Details

  - ### findResource

    public <T> T findResource(Class<T> type, Type genericType)
    Description copied from interface: `InjectionResources`
    Given the field type, provide the matching resource value, or null.
    Specified by:
      `findResource` in interface `InjectionResources`
    Parameters:
      `type` - type of field or parameter
      `genericType` - generic type information associated with field or parameter
    Returns:
      the corresponding value, or null