Class CustomScalarRegistryImpl

java.lang.Object
com.graphql_java_generator.customscalars.CustomScalarRegistryImpl
All Implemented Interfaces:
CustomScalarRegistry

@Component
public class CustomScalarRegistryImpl
extends java.lang.Object
implements CustomScalarRegistry
Author:
etienne-sf
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static CustomScalarRegistry customScalarRegistry
    As we may have or not have Spring at runtime, we manually manage a singleton.
  • Constructor Summary

    Constructors 
    Constructor Description
    CustomScalarRegistryImpl()  
  • Method Summary

    Modifier and Type Method Description
    graphql.schema.GraphQLScalarType getGraphQLScalarType​(java.lang.String graphQLTypeName)
    Retrieves the registered GraphQLScalarType for this GraphQL CustomScalar.
    void registerAllGraphQLScalarType()
    This method registers all GraphQLScalarType that are declared as Spring Component.
    void registerGraphQLScalarType​(graphql.schema.GraphQLScalarType type)
    Manually register one GraphQLScalarType.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait