类 BeanCapableImportCandidate

    • 字段概要

      字段 
      修饰符和类型 字段 说明
      protected org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory  
      protected java.lang.ClassLoader classLoader  
      protected org.springframework.core.env.ConfigurableEnvironment environment  
      protected org.slf4j.Logger logger  
      protected org.springframework.core.io.ResourceLoader resourceLoader  
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      org.springframework.beans.factory.config.ConfigurableListableBeanFactory getBeanFactory()
      The ConfigurableListableBeanFactory instance
      java.lang.ClassLoader getClassLoader()
      Get the ClassLoader instance
      org.springframework.core.env.ConfigurableEnvironment getEnvironment()
      The ConfigurableEnvironment instance
      org.springframework.core.io.ResourceLoader getResourceLoader()
      The ResourceLoader instance
      void setBeanClassLoader​(java.lang.ClassLoader classLoader)  
      void setBeanFactory​(org.springframework.beans.factory.BeanFactory beanFactory)  
      void setEnvironment​(org.springframework.core.env.Environment environment)  
      void setResourceLoader​(org.springframework.core.io.ResourceLoader resourceLoader)  
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 字段详细资料

      • logger

        protected final org.slf4j.Logger logger
      • classLoader

        protected java.lang.ClassLoader classLoader
      • beanFactory

        protected org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory
      • environment

        protected org.springframework.core.env.ConfigurableEnvironment environment
      • resourceLoader

        protected org.springframework.core.io.ResourceLoader resourceLoader
    • 构造器详细资料

      • BeanCapableImportCandidate

        public BeanCapableImportCandidate()
    • 方法详细资料

      • setBeanClassLoader

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

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

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

        public final void setResourceLoader​(org.springframework.core.io.ResourceLoader resourceLoader)
        指定者:
        setResourceLoader 在接口中 org.springframework.context.ResourceLoaderAware
      • getClassLoader

        @NonNull
        public final java.lang.ClassLoader getClassLoader()
        Get the ClassLoader instance
        返回:
        non-null
      • getBeanFactory

        @NonNull
        public final org.springframework.beans.factory.config.ConfigurableListableBeanFactory getBeanFactory()
        The ConfigurableListableBeanFactory instance
        返回:
        non-null
      • getEnvironment

        @NonNull
        public final org.springframework.core.env.ConfigurableEnvironment getEnvironment()
        The ConfigurableEnvironment instance
        返回:
        non-null
      • getResourceLoader

        @NonNull
        public final org.springframework.core.io.ResourceLoader getResourceLoader()
        The ResourceLoader instance
        返回:
        non-null