类 AnnotationInjectedBeanPostProcessor<A extends >

  • 所有已实现的接口:
    org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessor, org.springframework.beans.factory.config.SmartInstantiationAwareBeanPostProcessor, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.support.MergedBeanDefinitionPostProcessor, org.springframework.context.EnvironmentAware, org.springframework.core.Ordered, org.springframework.core.PriorityOrdered
    直接已知子类:
    ReferenceAnnotationBeanPostProcessor

    public abstract class AnnotationInjectedBeanPostProcessor<A extends >
    extends org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessorAdapter
    implements org.springframework.beans.factory.support.MergedBeanDefinitionPostProcessor, org.springframework.core.PriorityOrdered, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.context.EnvironmentAware, org.springframework.beans.factory.DisposableBean
    Abstract generic BeanPostProcessor implementation for customized annotation that annotated injected-object.

    The source code is cloned from https://github.com/alibaba/spring-context-support/blob/1.0.2/src/main/java/com/alibaba/spring/beans/factory/annotation/AnnotationInjectedBeanPostProcessor.java

    从以下版本开始:
    2.6.6
    • 构造器详细资料

      • AnnotationInjectedBeanPostProcessor

        public AnnotationInjectedBeanPostProcessor()
    • 方法详细资料

      • getAnnotationType

        public final <A> getAnnotationType()
        Annotation type
        返回:
        non-null
      • setBeanFactory

        public void setBeanFactory​(org.springframework.beans.factory.BeanFactory beanFactory)
                            throws org.springframework.beans.BeansException
        指定者:
        setBeanFactory 在接口中 org.springframework.beans.factory.BeanFactoryAware
        抛出:
        org.springframework.beans.BeansException
      • postProcessPropertyValues

        public org.springframework.beans.PropertyValues postProcessPropertyValues​(org.springframework.beans.PropertyValues pvs,
                                                                                  [] pds,
                                                                                   bean,
                                                                                   beanName)
                                                                           throws org.springframework.beans.factory.BeanCreationException
        指定者:
        postProcessPropertyValues 在接口中 org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessor
        覆盖:
        postProcessPropertyValues 在类中 org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessorAdapter
        抛出:
        org.springframework.beans.factory.BeanCreationException
      • findInjectionMetadata

        public org.springframework.beans.factory.annotation.InjectionMetadata findInjectionMetadata​( beanName,
                                                                                                    <?> clazz,
                                                                                                    org.springframework.beans.PropertyValues pvs)
      • postProcessMergedBeanDefinition

        public void postProcessMergedBeanDefinition​(org.springframework.beans.factory.support.RootBeanDefinition beanDefinition,
                                                    <?> beanType,
                                                     beanName)
        指定者:
        postProcessMergedBeanDefinition 在接口中 org.springframework.beans.factory.support.MergedBeanDefinitionPostProcessor
      • getOrder

        public int getOrder()
        指定者:
        getOrder 在接口中 org.springframework.core.Ordered
      • setOrder

        public void setOrder​(int order)
      • destroy

        public void destroy()
                     throws 
        指定者:
        destroy 在接口中 org.springframework.beans.factory.DisposableBean
        抛出:
      • setBeanClassLoader

        public void setBeanClassLoader​( classLoader)
        指定者:
        setBeanClassLoader 在接口中 org.springframework.beans.factory.BeanClassLoaderAware
      • setEnvironment

        public void setEnvironment​(org.springframework.core.env.Environment environment)
        指定者:
        setEnvironment 在接口中 org.springframework.context.EnvironmentAware