Interface RegistriesInitializer
public interface RegistriesInitializer
Interfaces that marks the generated classes of the same name. These classes contain various implementation, specific
to the generated code, that are used by the client runtime.
-
Method Summary
Modifier and TypeMethodDescriptionClass<?>The class that will contain the responses for GraphQL mutations.The package name, where the GraphQL generated classes are.Class<?>The class that will contain the responses for GraphQL queries.Retrive the value of the springBeanSuffix plugin parameter for the searched schema.Class<?>The class that will contain the responses for GraphQL subscriptions.
-
Method Details
-
getPackageName
String getPackageName()The package name, where the GraphQL generated classes are. It's used to load the class definition, and get the GraphQL metadata coming from the GraphQL schema. -
getSchema
String getSchema()Retrive the value of the springBeanSuffix plugin parameter for the searched schema. When there is only one schema, this plugin parameter is usually not set. In this case, its default value ("") is used -
getQueryRootResponseClass
Class<?> getQueryRootResponseClass()The class that will contain the responses for GraphQL queries.- Returns:
- the class to map the json return to
-
getMutationRootResponseClass
Class<?> getMutationRootResponseClass()The class that will contain the responses for GraphQL mutations.- Returns:
- the class to map the json return to
-
getSubscriptionRootResponseClass
Class<?> getSubscriptionRootResponseClass()The class that will contain the responses for GraphQL subscriptions.- Returns:
- the class to map the json return to
-