Package io.jmix.graphql
Class GraphQLConfiguration
java.lang.Object
io.jmix.graphql.GraphQLConfiguration
@Configuration
@ComponentScan
@ConfigurationPropertiesScan
@PropertySource(name="io.jmix.graphql",
                value="classpath:/io/jmix/graphql/module.properties")
public class GraphQLConfiguration
extends Object
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static enumprotected static classprotected static class - 
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AccessManagerprotected final org.springframework.context.ConfigurableApplicationContextprotected JmixTypeInfoGeneratorprotected LimitationPropertiesprotected Messagesprotected MessagesDataFetcherprotected OperationRateLimitServiceprotected PermissionDataFetcherprotected ScalarTypes - 
Constructor Summary
ConstructorsConstructorDescriptionGraphQLConfiguration(org.springframework.context.ConfigurableApplicationContext context)  - 
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddOperationSources(SpqrSchemaGenerator schemaGenerator, Collection<GraphQLConfiguration.SpqrBean> spqrBeans) protected Map<String,GraphQLConfiguration.SpqrBean> protected <T> TfindQualifiedBeanByType(Class<? extends T> type, String qualifierValue, Class<? extends Annotation> qualifierType) graphql.schema.GraphQLSchemagraphQLSchema(SpqrSchemaGenerator generator) graphQLSchemaGenerator(io.leangen.graphql.spqr.spring.autoconfigure.SpqrProperties spqrProperties) List<graphql.execution.instrumentation.Instrumentation>org.springframework.boot.autoconfigure.jackson.Jackson2ObjectMapperBuilderCustomizer 
- 
Field Details
- 
context
protected final org.springframework.context.ConfigurableApplicationContext context - 
permissionDataFetcher
 - 
messagesDataFetcher
 - 
operationRateLimitService
 - 
accessManager
 - 
limitationProperties
 - 
messages
 - 
jmixTypeInfoGenerator
 - 
scalarTypes
 
 - 
 - 
Constructor Details
- 
GraphQLConfiguration
@Autowired public GraphQLConfiguration(org.springframework.context.ConfigurableApplicationContext context)  
 - 
 - 
Method Details
- 
instrumentationList
 - 
jacksonCustomizer
@Bean public org.springframework.boot.autoconfigure.jackson.Jackson2ObjectMapperBuilderCustomizer jacksonCustomizer() - 
graphQLSchema
 - 
graphQLSchemaGenerator
@Bean @Primary public SpqrSchemaGenerator graphQLSchemaGenerator(io.leangen.graphql.spqr.spring.autoconfigure.SpqrProperties spqrProperties)  - 
findGraphQLApiComponents
 - 
addOperationSources
protected void addOperationSources(SpqrSchemaGenerator schemaGenerator, Collection<GraphQLConfiguration.SpqrBean> spqrBeans)  - 
findQualifiedBeanByType
protected <T> T findQualifiedBeanByType(Class<? extends T> type, String qualifierValue, Class<? extends Annotation> qualifierType)  
 -