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
Implementation of
ImportBeanDefinitionRegistrar
, that scans the given package for GraphQLRepository
annotated interfaces, and register dynamic proxies as beans.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
registerBeanDefinitions
(org.springframework.core.type.AnnotationMetadata importingClassMetadata, org.springframework.beans.factory.support.BeanDefinitionRegistry registry) void
setBeanClassLoader
(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
-
GraphQLRepositoryProxyBeansRegistrar
public GraphQLRepositoryProxyBeansRegistrar()
-
-
Method Details
-
setBeanClassLoader
- Specified by:
setBeanClassLoader
in interfaceorg.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 interfaceorg.springframework.context.annotation.ImportBeanDefinitionRegistrar
-