@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value={graphql.GraphQL.class,org.springframework.graphql.execution.GraphQlSource.class}) @EnableConfigurationProperties(value=GraphQlProperties.class) public class GraphQlAutoConfiguration extends Object
Auto-configuration
for creating a Spring GraphQL base
infrastructure.Constructor and Description |
---|
GraphQlAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.graphql.data.method.annotation.support.AnnotatedControllerConfigurer |
annotatedControllerConfigurer() |
org.springframework.graphql.execution.BatchLoaderRegistry |
batchLoaderRegistry() |
org.springframework.graphql.GraphQlService |
graphQlService(org.springframework.graphql.execution.GraphQlSource graphQlSource) |
org.springframework.graphql.execution.GraphQlSource |
graphQlSource(ResourcePatternResolver resourcePatternResolver,
GraphQlProperties properties,
ObjectProvider<org.springframework.graphql.execution.DataFetcherExceptionResolver> exceptionResolversProvider,
ObjectProvider<graphql.execution.instrumentation.Instrumentation> instrumentationsProvider,
ObjectProvider<org.springframework.graphql.execution.RuntimeWiringConfigurer> wiringConfigurers,
ObjectProvider<GraphQlSourceBuilderCustomizer> sourceCustomizers) |
@Bean @ConditionalOnMissingBean public org.springframework.graphql.execution.GraphQlSource graphQlSource(ResourcePatternResolver resourcePatternResolver, GraphQlProperties properties, ObjectProvider<org.springframework.graphql.execution.DataFetcherExceptionResolver> exceptionResolversProvider, ObjectProvider<graphql.execution.instrumentation.Instrumentation> instrumentationsProvider, ObjectProvider<org.springframework.graphql.execution.RuntimeWiringConfigurer> wiringConfigurers, ObjectProvider<GraphQlSourceBuilderCustomizer> sourceCustomizers)
@Bean @ConditionalOnMissingBean public org.springframework.graphql.execution.BatchLoaderRegistry batchLoaderRegistry()
@Bean @ConditionalOnMissingBean public org.springframework.graphql.GraphQlService graphQlService(org.springframework.graphql.execution.GraphQlSource graphQlSource)
@Bean @ConditionalOnMissingBean public org.springframework.graphql.data.method.annotation.support.AnnotatedControllerConfigurer annotatedControllerConfigurer()