@AutoConfiguration @ConditionalOnClass(value={graphql.GraphQL.class,org.springframework.graphql.execution.GraphQlSource.class}) @ConditionalOnGraphQlSchema @EnableConfigurationProperties(value=GraphQlProperties.class) public class GraphQlAutoConfiguration extends java.lang.Object
Auto-configuration for creating a Spring GraphQL base
infrastructure.| Constructor and Description |
|---|
GraphQlAutoConfiguration(org.springframework.beans.factory.ListableBeanFactory beanFactory) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.graphql.data.method.annotation.support.AnnotatedControllerConfigurer |
annotatedControllerConfigurer() |
org.springframework.graphql.execution.BatchLoaderRegistry |
batchLoaderRegistry() |
org.springframework.graphql.ExecutionGraphQlService |
executionGraphQlService(org.springframework.graphql.execution.GraphQlSource graphQlSource,
org.springframework.graphql.execution.BatchLoaderRegistry batchLoaderRegistry) |
org.springframework.graphql.execution.GraphQlSource |
graphQlSource(org.springframework.core.io.support.ResourcePatternResolver resourcePatternResolver,
GraphQlProperties properties,
org.springframework.beans.factory.ObjectProvider<org.springframework.graphql.execution.DataFetcherExceptionResolver> exceptionResolvers,
org.springframework.beans.factory.ObjectProvider<graphql.execution.instrumentation.Instrumentation> instrumentations,
org.springframework.beans.factory.ObjectProvider<org.springframework.graphql.execution.RuntimeWiringConfigurer> wiringConfigurers,
org.springframework.beans.factory.ObjectProvider<GraphQlSourceBuilderCustomizer> sourceCustomizers) |
public GraphQlAutoConfiguration(org.springframework.beans.factory.ListableBeanFactory beanFactory)
@Bean @ConditionalOnMissingBean public org.springframework.graphql.execution.GraphQlSource graphQlSource(org.springframework.core.io.support.ResourcePatternResolver resourcePatternResolver, GraphQlProperties properties, org.springframework.beans.factory.ObjectProvider<org.springframework.graphql.execution.DataFetcherExceptionResolver> exceptionResolvers, org.springframework.beans.factory.ObjectProvider<graphql.execution.instrumentation.Instrumentation> instrumentations, org.springframework.beans.factory.ObjectProvider<org.springframework.graphql.execution.RuntimeWiringConfigurer> wiringConfigurers, org.springframework.beans.factory.ObjectProvider<GraphQlSourceBuilderCustomizer> sourceCustomizers)
@Bean @ConditionalOnMissingBean public org.springframework.graphql.execution.BatchLoaderRegistry batchLoaderRegistry()
@Bean @ConditionalOnMissingBean public org.springframework.graphql.ExecutionGraphQlService executionGraphQlService(org.springframework.graphql.execution.GraphQlSource graphQlSource, org.springframework.graphql.execution.BatchLoaderRegistry batchLoaderRegistry)
@Bean @ConditionalOnMissingBean public org.springframework.graphql.data.method.annotation.support.AnnotatedControllerConfigurer annotatedControllerConfigurer()