Package org.starwars.server.util
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
Modifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContext
Fields inherited from class org.springframework.boot.web.servlet.support.SpringBootServletInitializer
logger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.boot.autoconfigure.graphql.GraphQlSourceBuilderCustomizer
ThisGraphQlSourceBuilderCustomizer
configures stuff that is mandatory for plugin.static void
Methods inherited from class org.springframework.boot.web.servlet.support.SpringBootServletInitializer
configure, createRootApplicationContext, createSpringApplicationBuilder, deregisterJdbcDrivers, onStartup, run, setRegisterErrorPageFilter
-
Field Details
-
applicationContext
@Autowired protected org.springframework.context.ApplicationContext applicationContext
-
-
Constructor Details
-
GraphQLServerMain
public GraphQLServerMain()
-
-
Method Details
-
main
-
defaultSourceBuilderCustomizer
@Bean public org.springframework.boot.autoconfigure.graphql.GraphQlSourceBuilderCustomizer defaultSourceBuilderCustomizer()ThisGraphQlSourceBuilderCustomizer
configures stuff that is mandatory for plugin. OtherGraphQlSourceBuilderCustomizer
may be registered to add other customization to the springGraphQlSource
. The only constraint is that other such beans must have different names.- Returns:
-