Class GraphQLServerMain

java.lang.Object
org.springframework.boot.web.servlet.support.SpringBootServletInitializer
org.starwars.server.util.GraphQLServerMain
All Implemented Interfaces:
org.springframework.web.WebApplicationInitializer

@SpringBootApplication @ComponentScan(basePackages={"org.starwars.server","com.graphql_java_generator.server","com.graphql_java_generator.util"}, excludeFilters=) @EnableJpaRepositories(basePackages={"org.starwars.server","com.graphql_java_generator"}) @EntityScan(basePackages={"org.starwars.server","com.graphql_java_generator"}) @EnableConfigurationProperties public class GraphQLServerMain extends org.springframework.boot.web.servlet.support.SpringBootServletInitializer
Author:
generated by graphql-java-generator
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected org.springframework.context.ApplicationContext
     

    Fields inherited from class org.springframework.boot.web.servlet.support.SpringBootServletInitializer

    logger
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.boot.autoconfigure.graphql.GraphQlSourceBuilderCustomizer
    This GraphQlSourceBuilderCustomizer configures stuff that is mandatory for plugin.
    static void
    main(String[] args)
     

    Methods inherited from class org.springframework.boot.web.servlet.support.SpringBootServletInitializer

    configure, createRootApplicationContext, createSpringApplicationBuilder, deregisterJdbcDrivers, onStartup, run, setRegisterErrorPageFilter

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • applicationContext

      @Autowired protected org.springframework.context.ApplicationContext applicationContext
  • Constructor Details

    • GraphQLServerMain

      public GraphQLServerMain()
  • Method Details

    • main

      public static void main(String[] args)
    • defaultSourceBuilderCustomizer

      @Bean public org.springframework.boot.autoconfigure.graphql.GraphQlSourceBuilderCustomizer defaultSourceBuilderCustomizer()
      This GraphQlSourceBuilderCustomizer configures stuff that is mandatory for plugin. Other GraphQlSourceBuilderCustomizer may be registered to add other customization to the spring GraphQlSource. The only constraint is that other such beans must have different names.
      Returns: