Class RefreshSpaceModeContextLoader

java.lang.Object
org.openspaces.core.space.mode.SpaceModeContextLoader
org.openspaces.core.space.mode.RefreshSpaceModeContextLoader
All Implemented Interfaces:
EventListener, ClusterInfoAware, BeanLevelPropertiesAware, RefreshableContextLoader, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware, org.springframework.context.ApplicationListener

public class RefreshSpaceModeContextLoader extends SpaceModeContextLoader implements RefreshableContextLoader
Extension to SpaceModeContextLoader allowing for the context loader to be refreshable and load new code. Only works with the Service Grid or the Standalone container.

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.

Author:
kimchy