@Service(value="appContextUtil")
public class ApplicationContextUtil
extends java.lang.Object
implements org.springframework.context.ApplicationContextAware
构造器和说明 |
---|
ApplicationContextUtil() |
限定符和类型 | 方法和说明 |
---|---|
org.springframework.context.ApplicationContext |
getContext() |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
setApplicationContext
在接口中 org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
public org.springframework.context.ApplicationContext getContext()