Class GraphQLRepositoryProxyBeanFactory
java.lang.Object
com.graphql_java_generator.client.graphqlrepository.GraphQLRepositoryProxyBeanFactory
@Component
public class GraphQLRepositoryProxyBeanFactory
extends java.lang.Object
The
GraphQLRepositoryInvocationHandlers are created for each interface marked by the
GraphQLRepository annotation by the GraphQLRepositoryProxyBeansRegistrar Spring configuration class.
It register a bean factory for each such interface, and provided the right InvocationHandler for each.-
Constructor Summary
Constructors Constructor Description GraphQLRepositoryProxyBeanFactory() -
Method Summary
Modifier and Type Method Description <R> RcreateGraphQLRepositoryInvocationHandler(java.lang.ClassLoader classLoader, java.lang.Class<R> clazz)
-
Constructor Details
-
GraphQLRepositoryProxyBeanFactory
public GraphQLRepositoryProxyBeanFactory()
-
-
Method Details
-
createGraphQLRepositoryInvocationHandler
public <R> R createGraphQLRepositoryInvocationHandler(java.lang.ClassLoader classLoader, java.lang.Class<R> clazz) throws GraphQLRequestPreparationException
-