public class RefreshSpaceModeContextLoader extends SpaceModeContextLoader implements RefreshableContextLoader
If a refresh is executed on this context loader, will close the application context of this context and load it again using a new class loader allowing for new code definitions to be applied.
applicationContext, beanName, logger| Constructor and Description |
|---|
RefreshSpaceModeContextLoader() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
protected void |
closeApplicationContext()
Closes the application context.
|
protected void |
loadApplicationContext()
Loads the application context and adding specific bean factory and bean post processors.
|
void |
refresh() |
destroy, onApplicationEvent, publishEvent, setActiveWhenPrimary, setApplicationContext, setBeanLevelProperties, setBeanName, setClusterInfo, setGigaSpace, setLocationpublic void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanafterPropertiesSet in class SpaceModeContextLoaderExceptionprotected void loadApplicationContext()
throws Exception
SpaceModeContextLoaderloadApplicationContext in class SpaceModeContextLoaderExceptionprotected void closeApplicationContext()
SpaceModeContextLoadercloseApplicationContext in class SpaceModeContextLoaderpublic void refresh()
throws Exception
refresh in interface RefreshableContextLoaderExceptionCopyright © GigaSpaces.