public class ApplicationContextProvider
extends java.lang.Object
implements org.springframework.context.ApplicationContextAware
Constructor and Description |
---|
ApplicationContextProvider() |
Modifier and Type | Method and Description |
---|---|
static org.springframework.context.ApplicationContext |
getApplicationContext() |
org.springframework.beans.factory.config.AutowireCapableBeanFactory |
getAutowireCapableBeanFactory() |
org.springframework.context.ConfigurableApplicationContext |
getConfigurableApplicationContext() |
void |
setApplicationContext(org.springframework.context.ApplicationContext ctx) |
public static org.springframework.context.ApplicationContext getApplicationContext()
public void setApplicationContext(org.springframework.context.ApplicationContext ctx)
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
public org.springframework.context.ConfigurableApplicationContext getConfigurableApplicationContext()
public org.springframework.beans.factory.config.AutowireCapableBeanFactory getAutowireCapableBeanFactory()