public class GraphQLInterfaceTypeResolver
extends java.lang.Object
implements graphql.schema.TypeResolver, org.springframework.context.ApplicationContextAware
Apply this interface to GraphQL interfaces using the {@link graphql.annotations.annotationTypes.GraphQLTypeResolver} annotation.
| Constructor and Description |
|---|
GraphQLInterfaceTypeResolver() |
| Modifier and Type | Method and Description |
|---|---|
graphql.schema.GraphQLObjectType |
getType(graphql.TypeResolutionEnvironment env) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
public graphql.schema.GraphQLObjectType getType(graphql.TypeResolutionEnvironment env)
getType in interface graphql.schema.TypeResolverpublic void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
setApplicationContext in interface org.springframework.context.ApplicationContextAware