Class GraphQLRepositoryProxyBeansRegistrar

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

@Configuration
public class GraphQLRepositoryProxyBeansRegistrar
extends java.lang.Object
implements org.springframework.context.annotation.ImportBeanDefinitionRegistrar, org.springframework.beans.factory.BeanClassLoaderAware
Implementation of ImportBeanDefinitionRegistrar, that scans the given package for GraphQLRepository annotated interfaces, and register dynamic proxies as beans.
  • Constructor Summary

    Constructors 
    Constructor Description
    GraphQLRepositoryProxyBeansRegistrar()  
  • Method Summary

    Modifier and Type Method Description
    void registerBeanDefinitions​(org.springframework.core.type.AnnotationMetadata importingClassMetadata, org.springframework.beans.factory.support.BeanDefinitionRegistry registry)  
    void setBeanClassLoader​(java.lang.ClassLoader classLoader)  

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface org.springframework.context.annotation.ImportBeanDefinitionRegistrar

    registerBeanDefinitions
  • Constructor Details

  • Method Details

    • setBeanClassLoader

      public void setBeanClassLoader​(java.lang.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