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

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

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

import graphql.spring.web.servlet.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