public class AnnotationNacosInjectedBeanPostProcessor
extends com.alibaba.spring.beans.factory.annotation.AbstractAnnotationBeanPostProcessor
implements org.springframework.beans.factory.InitializingBean
AnnotationInjectedBeanPostProcessor implementation is used to inject
ConfigService or NamingService instance into a Spring Bean If it's
attributes or properties annotated @NacosInjected.| 限定符和类型 | 字段和说明 |
|---|---|
static String |
BEAN_NAME
The name of
AnnotationNacosInjectedBeanPostProcessor |
| 构造器和说明 |
|---|
AnnotationNacosInjectedBeanPostProcessor() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
afterPropertiesSet() |
protected String |
buildInjectedObjectCacheKey(org.springframework.core.annotation.AnnotationAttributes attributes,
Object bean,
String beanName,
Class<?> injectedType,
org.springframework.beans.factory.annotation.InjectionMetadata.InjectedElement injectedElement) |
protected Object |
doGetInjectedBean(org.springframework.core.annotation.AnnotationAttributes attributes,
Object bean,
String beanName,
Class<?> injectedType,
org.springframework.beans.factory.annotation.InjectionMetadata.InjectedElement injectedElement) |
destroy, doGetAnnotationAttributes, getAnnotationType, getAnnotationTypes, getBeanFactory, getClassLoader, getEnvironment, getInjectedFieldObjectsMap, getInjectedMethodObjectsMap, getInjectedObject, getInjectedObjects, getOrder, postProcessMergedBeanDefinition, postProcessPropertyValues, setBeanClassLoader, setBeanFactory, setClassValuesAsString, setEnvironment, setIgnoreDefaultValue, setNestedAnnotationsAsMap, setOrder, setTryMergedAnnotationdetermineCandidateConstructors, getEarlyBeanReference, postProcessAfterInitialization, postProcessAfterInstantiation, postProcessBeforeInitialization, postProcessBeforeInstantiation, predictBeanTypepublic static final String BEAN_NAME
AnnotationNacosInjectedBeanPostProcessorpublic final void afterPropertiesSet()
afterPropertiesSet 在接口中 org.springframework.beans.factory.InitializingBeanprotected Object doGetInjectedBean(org.springframework.core.annotation.AnnotationAttributes attributes, Object bean, String beanName, Class<?> injectedType, org.springframework.beans.factory.annotation.InjectionMetadata.InjectedElement injectedElement) throws Exception
doGetInjectedBean 在类中 com.alibaba.spring.beans.factory.annotation.AbstractAnnotationBeanPostProcessorExceptionprotected String buildInjectedObjectCacheKey(org.springframework.core.annotation.AnnotationAttributes attributes, Object bean, String beanName, Class<?> injectedType, org.springframework.beans.factory.annotation.InjectionMetadata.InjectedElement injectedElement)
buildInjectedObjectCacheKey 在类中 com.alibaba.spring.beans.factory.annotation.AbstractAnnotationBeanPostProcessorCopyright © 2021. All rights reserved.