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

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

    • 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