Class ApplicationContextProvider
- java.lang.Object
-
- org.joinfaces.autoconfigure.rewrite.ApplicationContextProvider
-
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.beans.factory.DisposableBean
,org.springframework.context.ApplicationContextAware
public class ApplicationContextProvider extends Object implements org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.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 org.springframework.context.ApplicationContext
getApplicationContext()
void
setApplicationContext(org.springframework.context.ApplicationContext newApplicationContext)
-
-
-
Method Detail
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext newApplicationContext) throws org.springframework.beans.BeansException
- Specified by:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
-
destroy
public void destroy()
- Specified by:
destroy
in interfaceorg.springframework.beans.factory.DisposableBean
-
getApplicationContext
@Nullable public static org.springframework.context.ApplicationContext getApplicationContext()
-
-