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(Class<T> type, Type genericType)
          Given the field type, provide the matching resource value, or null.
 

Method Detail

findResource

<T> T findResource(Class<T> type,
                   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


Copyright © 2003-2012 The Apache Software Foundation.