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, setLocation
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
afterPropertiesSet
in class SpaceModeContextLoader
Exception
protected void loadApplicationContext() throws Exception
SpaceModeContextLoader
loadApplicationContext
in class SpaceModeContextLoader
Exception
protected void closeApplicationContext()
SpaceModeContextLoader
closeApplicationContext
in class SpaceModeContextLoader
public void refresh() throws Exception
refresh
in interface RefreshableContextLoader
Exception
Copyright © GigaSpaces.