Class AnnotatedControllerConfigurer

All Implemented Interfaces:
Aware, InitializingBean, ApplicationContextAware, RuntimeWiringConfigurer

public class AnnotatedControllerConfigurer extends Object implements ApplicationContextAware, InitializingBean, RuntimeWiringConfigurer
RuntimeWiringConfigurer that finds @SchemaMapping annotated handler methods in @Controller classes declared in Spring configuration, and registers them as DataFetchers.

In addition to initializing a RuntimeWiring.Builder, this class, also provides an option to configure data fetchers on a GraphQLCodeRegistry.Builder.

This class detects the following strategies in Spring configuration, expecting to find a single, unique bean of that type:

Rossen Stoyanchev, Brian Clozel
  • Constructor Details

    • AnnotatedControllerConfigurer

      public AnnotatedControllerConfigurer()
  • Method Details