Search in sources :

Example 1 with AnnotatedControllerConfigurer

use of org.springframework.graphql.data.method.annotation.support.AnnotatedControllerConfigurer in project spring-graphql by spring-projects.

the class GraphQlSetup method runtimeWiringForAnnotatedControllers.

public GraphQlSetup runtimeWiringForAnnotatedControllers(ApplicationContext context) {
    AnnotatedControllerConfigurer configurer = new AnnotatedControllerConfigurer();
    configurer.setApplicationContext(context);
    configurer.afterPropertiesSet();
    return runtimeWiring(configurer);
}
Also used : AnnotatedControllerConfigurer(org.springframework.graphql.data.method.annotation.support.AnnotatedControllerConfigurer)

Aggregations

AnnotatedControllerConfigurer (org.springframework.graphql.data.method.annotation.support.AnnotatedControllerConfigurer)1