All Downloads are FREE. Search and download functionalities are using the official Maven repository.

graphql.spring.web.reactive.GraphQLEndpointConfiguration Maven / Gradle / Ivy

There is a newer version: 2021-10-25T04-50-54-fbc162f
Show newest version
package graphql.spring.web.reactive;

import graphql.spring.web.reactive.components.GraphQLController;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

import javax.annotation.PostConstruct;

@Configuration
@ConditionalOnWebApplication
@ComponentScan(basePackageClasses = GraphQLController.class)
public class GraphQLEndpointConfiguration {

    @Autowired
    ApplicationContext applicationContext;

    @PostConstruct
    public void init() {
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy