Class GraphQLReactiveRepositoryProxyBeansRegistrar

java.lang.Object
com.graphql_java_generator.client.graphqlrepository.GraphQLReactiveRepositoryProxyBeansRegistrar
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.context.annotation.ImportBeanDefinitionRegistrar

@Configuration public class GraphQLReactiveRepositoryProxyBeansRegistrar extends Object
Implementation of ImportBeanDefinitionRegistrar, that scans the given package for GraphQLRepository annotated interfaces, and register dynamic proxies as beans.
  • Constructor Details

    • GraphQLReactiveRepositoryProxyBeansRegistrar

      public GraphQLReactiveRepositoryProxyBeansRegistrar()
  • Method Details

    • setBeanClassLoader

      public void setBeanClassLoader(ClassLoader classLoader)
      Specified by:
      setBeanClassLoader in interface org.springframework.beans.factory.BeanClassLoaderAware
    • registerBeanDefinitions

      public void registerBeanDefinitions(org.springframework.core.type.AnnotationMetadata importingClassMetadata, org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
      Specified by:
      registerBeanDefinitions in interface org.springframework.context.annotation.ImportBeanDefinitionRegistrar