Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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 id, logger or service interface class.

Method Summary
`
`<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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2012 The Apache Software Foundation.