public class SummerContext extends Object implements org.springframework.context.ApplicationContextAware
| 构造器和说明 |
|---|
SummerContext() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected static org.springframework.context.ApplicationContext |
getSpringContext()
用静态方法获取Spring Context
|
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
此方法由 spring 注入时调用
|
protected static org.springframework.context.ApplicationContext getSpringContext()
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext 在接口中 org.springframework.context.ApplicationContextAwareapplicationContext - spring 上下文org.springframework.beans.BeansException - 异常Copyright © 2019. All rights reserved.