Class ApplicationContextProvider
- java.lang.Object
-
- org.joinfaces.autoconfigure.rewrite.ApplicationContextProvider
-
- All Implemented Interfaces:
Aware
,DisposableBean
,ApplicationContextAware
public class ApplicationContextProvider extends java.lang.Object implements ApplicationContextAware, DisposableBean
-
-
Constructor Summary
Constructors Constructor Description ApplicationContextProvider()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
destroy()
static ApplicationContext
getApplicationContext()
void
setApplicationContext(ApplicationContext newApplicationContext)
-
-
-
Method Detail
-
setApplicationContext
public void setApplicationContext(ApplicationContext newApplicationContext) throws BeansException
- Specified by:
setApplicationContext
in interfaceApplicationContextAware
- Throws:
BeansException
-
destroy
public void destroy()
- Specified by:
destroy
in interfaceDisposableBean
-
getApplicationContext
@Nullable public static ApplicationContext getApplicationContext()
-
-