public class ApplicationContextUtil extends Object implements org.springframework.context.ApplicationContextAware
Constructor and Description |
---|
ApplicationContextUtil() |
Modifier and Type | Method and Description |
---|---|
static Object |
getBean(String arg) |
static 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
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
public static org.springframework.context.ApplicationContext getContext()
Copyright © 2019. All rights reserved.