クラス GraphQlAutoConfiguration
java.lang.ObjectSE
org.springframework.boot.autoconfigure.graphql.GraphQlAutoConfiguration
@AutoConfiguration
@ConditionalOnClass({graphql.GraphQL.class,org.springframework.graphql.execution.GraphQlSource.class})
@ConditionalOnGraphQlSchema
@EnableConfigurationProperties(GraphQlProperties.class)
@ImportRuntimeHints(org.springframework.boot.autoconfigure.graphql.GraphQlAutoConfiguration.GraphQlResourcesRuntimeHints.class)
public class GraphQlAutoConfiguration
extends ObjectSE
Spring GraphQL ベースインフラストラクチャを作成するための
Auto-configuration
。- 導入:
- 2.7.0
- 作成者:
- Brian Clozel
コンストラクターのサマリー
コンストラクターメソッドのサマリー
修飾子と型メソッド説明org.springframework.graphql.data.method.annotation.support.AnnotatedControllerConfigurer
annotatedControllerConfigurer
(ObjectProvider<ExecutorSE> executorProvider) org.springframework.graphql.execution.BatchLoaderRegistry
org.springframework.graphql.ExecutionGraphQlService
executionGraphQlService
(org.springframework.graphql.execution.GraphQlSource graphQlSource, org.springframework.graphql.execution.BatchLoaderRegistry batchLoaderRegistry) org.springframework.graphql.execution.GraphQlSource
graphQlSource
(ResourcePatternResolver resourcePatternResolver, GraphQlProperties properties, ObjectProvider<org.springframework.graphql.execution.DataFetcherExceptionResolver> exceptionResolvers, ObjectProvider<org.springframework.graphql.execution.SubscriptionExceptionResolver> subscriptionExceptionResolvers, ObjectProvider<graphql.execution.instrumentation.Instrumentation> instrumentations, ObjectProvider<org.springframework.graphql.execution.RuntimeWiringConfigurer> wiringConfigurers, ObjectProvider<GraphQlSourceBuilderCustomizer> sourceCustomizers)
コンストラクターの詳細
GraphQlAutoConfiguration
メソッドの詳細
graphQlSource
@Bean @ConditionalOnMissingBean public org.springframework.graphql.execution.GraphQlSource graphQlSource(ResourcePatternResolver resourcePatternResolver, GraphQlProperties properties, ObjectProvider<org.springframework.graphql.execution.DataFetcherExceptionResolver> exceptionResolvers, ObjectProvider<org.springframework.graphql.execution.SubscriptionExceptionResolver> subscriptionExceptionResolvers, ObjectProvider<graphql.execution.instrumentation.Instrumentation> instrumentations, ObjectProvider<org.springframework.graphql.execution.RuntimeWiringConfigurer> wiringConfigurers, ObjectProvider<GraphQlSourceBuilderCustomizer> sourceCustomizers) batchLoaderRegistry
@Bean @ConditionalOnMissingBean public org.springframework.graphql.execution.BatchLoaderRegistry batchLoaderRegistry()executionGraphQlService
@Bean @ConditionalOnMissingBean public org.springframework.graphql.ExecutionGraphQlService executionGraphQlService(org.springframework.graphql.execution.GraphQlSource graphQlSource, org.springframework.graphql.execution.BatchLoaderRegistry batchLoaderRegistry) annotatedControllerConfigurer
@Bean @ConditionalOnMissingBean public org.springframework.graphql.data.method.annotation.support.AnnotatedControllerConfigurer annotatedControllerConfigurer(@Qualifier("applicationTaskExecutor") ObjectProvider<ExecutorSE> executorProvider)