首页 > 代码库 > spring初始化相关

spring初始化相关

获取applicationContext   

implements ApplicationContextAware

@Override
public void setApplicationContext(ApplicationContext applicationContext)
throws BeansException {
this.applicationContext = applicationContext;
}

 

spring初始化相关