类 BaseSpringAware

  • 所有已实现的接口:
    org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.BeanNameAware, org.springframework.context.ApplicationContextAware, org.springframework.context.EnvironmentAware
    直接已知子类:
    BaseAutowiredBeanPostProcessor, ProxySPIFactoryBean

    public class BaseSpringAware
    extends SpringBeanContext
    implements org.springframework.context.EnvironmentAware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.BeanClassLoaderAware
    作者:
    caizhihao
    • 字段详细资料

      • beanName

        protected String beanName
      • environment

        protected org.springframework.core.env.Environment environment
      • beanDefinitionRegistry

        protected org.springframework.beans.factory.support.BeanDefinitionRegistry beanDefinitionRegistry
      • beanFactory

        protected org.springframework.beans.factory.support.DefaultListableBeanFactory beanFactory
      • beanClassLoader

        protected ClassLoader beanClassLoader
    • 构造器详细资料

      • BaseSpringAware

        public BaseSpringAware()
    • 方法详细资料

      • setEnvironment

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

        public org.springframework.core.env.Environment getEnvironment()
      • setApplicationContext

        public void setApplicationContext​(org.springframework.context.ApplicationContext applicationContext)
                                   throws org.springframework.beans.BeansException
        指定者:
        setApplicationContext 在接口中 org.springframework.context.ApplicationContextAware
        覆盖:
        setApplicationContext 在类中 SpringBeanContext
        抛出:
        org.springframework.beans.BeansException
      • 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
      • setBeanName

        public void setBeanName​(String name)
        指定者:
        setBeanName 在接口中 org.springframework.beans.factory.BeanNameAware
      • setBeanClassLoader

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