Package 

Class SpringDataFetcher

  • All Implemented Interfaces:
    graphql.schema.DataFetcher

    
    public class SpringDataFetcher
    extends FunctionDataFetcher
                        

    Spring aware function data fetcher that automatically autowires Spring beans as function parameters.

    • Constructor Summary

      Constructors 
      Constructor Description
      SpringDataFetcher(Object target, KFunction<?> fn, ObjectMapper objectMapper, ApplicationContext applicationContext)
    • Method Summary

      Modifier and Type Method Description
      • Methods inherited from class com.expediagroup.graphql.server.spring.execution.SpringDataFetcher

        get
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SpringDataFetcher

        SpringDataFetcher(Object target, KFunction<?> fn, ObjectMapper objectMapper, ApplicationContext applicationContext)