类 BaseSpringAware
- java.lang.Object
-
- com.burukeyou.smartdi.config.SpringBeanContext
-
- com.burukeyou.smartdi.register.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
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
-
-
字段概要
字段 修饰符和类型 字段 说明 protected ClassLoaderbeanClassLoaderprotected org.springframework.beans.factory.support.BeanDefinitionRegistrybeanDefinitionRegistryprotected org.springframework.beans.factory.support.DefaultListableBeanFactorybeanFactoryprotected StringbeanNameprotected org.springframework.core.env.Environmentenvironment-
从类继承的字段 com.burukeyou.smartdi.config.SpringBeanContext
springContext
-
-
构造器概要
构造器 构造器 说明 BaseSpringAware()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 org.springframework.core.env.EnvironmentgetEnvironment()voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext)voidsetBeanClassLoader(ClassLoader classLoader)voidsetBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)voidsetBeanName(String name)voidsetEnvironment(org.springframework.core.env.Environment environment)-
从类继承的方法 com.burukeyou.smartdi.config.SpringBeanContext
getBean, getBean, getBeanByAliasName, getBeanByAllName, registerBeanAlias
-
-
-
-
字段详细资料
-
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
-
-
方法详细资料
-
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
-
-