Interface InjectionResources

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method 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