public class GraphQLClientBeanPostProcessor
extends java.lang.Object
implements org.springframework.beans.factory.config.BeanPostProcessor
| Constructor and Description |
|---|
GraphQLClientBeanPostProcessor(org.springframework.context.ApplicationContext applicationContext,
org.springframework.core.io.ResourceLoader resourceLoader) |
| Modifier and Type | Method and Description |
|---|---|
GraphQLTemplate |
createGraphQLTemplate(java.lang.String url) |
java.lang.Object |
postProcessBeforeInitialization(java.lang.Object bean,
java.lang.String beanName) |
protected <T> T |
processInjectionPoint(java.lang.reflect.Member injectionTarget,
java.lang.Class<T> injectionType,
GraphQLClient annotation) |
protected <T> T |
valueForMember(java.lang.String name,
java.lang.reflect.Member injectionTarget,
java.lang.Class<T> injectionType) |
public GraphQLClientBeanPostProcessor(org.springframework.context.ApplicationContext applicationContext,
org.springframework.core.io.ResourceLoader resourceLoader)
public java.lang.Object postProcessBeforeInitialization(java.lang.Object bean,
java.lang.String beanName)
throws org.springframework.beans.BeansException
postProcessBeforeInitialization in interface org.springframework.beans.factory.config.BeanPostProcessororg.springframework.beans.BeansExceptionprotected <T> T processInjectionPoint(java.lang.reflect.Member injectionTarget,
java.lang.Class<T> injectionType,
GraphQLClient annotation)
protected <T> T valueForMember(java.lang.String name,
java.lang.reflect.Member injectionTarget,
java.lang.Class<T> injectionType)
throws org.springframework.beans.BeansException
org.springframework.beans.BeansExceptionpublic GraphQLTemplate createGraphQLTemplate(java.lang.String url)