public class CommonContextBean extends Object implements org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.InitializingBean
| 限定符和类型 | 字段和说明 |
|---|---|
protected org.springframework.context.ApplicationContext |
applicationContext |
protected ClassLoader |
beanClassLoader |
protected String |
beanName |
protected org.springframework.beans.factory.config.ConfigurableListableBeanFactory |
configurableListableBeanFactory |
protected SofaRuntimeContext |
sofaRuntimeContext |
| 构造器和说明 |
|---|
CommonContextBean() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
afterPropertiesSet() |
ClassLoader |
getBeanClassLoader() |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setBeanClassLoader(ClassLoader beanClassLoader) |
void |
setBeanName(String beanName) |
protected String beanName
protected ClassLoader beanClassLoader
protected org.springframework.beans.factory.config.ConfigurableListableBeanFactory configurableListableBeanFactory
protected SofaRuntimeContext sofaRuntimeContext
protected org.springframework.context.ApplicationContext applicationContext
public void afterPropertiesSet()
throws Exception
afterPropertiesSet 在接口中 org.springframework.beans.factory.InitializingBeanExceptionpublic void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext 在接口中 org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionpublic void setBeanClassLoader(ClassLoader beanClassLoader)
public ClassLoader getBeanClassLoader()
public void setBeanName(String beanName)
setBeanName 在接口中 org.springframework.beans.factory.BeanNameAwareCopyright © 2019 Pivotal Software, Inc.. All rights reserved.