Example usage for Java org.springframework.data.gemfire.support SpringContextBootstrappingInitializer fields, constructors, methods, implement or subclass
The text is from its open source code.
String | BASE_PACKAGES_PARAMETER |
String | CONTEXT_CONFIG_LOCATIONS_PARAMETER |
ConfigurableApplicationContext | applicationContext |
ContextRefreshedEvent | contextRefreshedEvent |
ConfigurableApplicationContext | createApplicationContext(String[] basePackages, String[] configLocations) Creates (constructs and configures) an instance of the ConfigurableApplicationContext based on either the specified base packages containing @Configuration, @Component or JSR 330 annotated classes to scan, or the specified locations of context configuration meta-data files. |
ConfigurableApplicationContext | getApplicationContext() Gets a reference to the Spring ApplicationContext constructed, configured and initialized inside the GemFire Server-based JVM process. |
void | init(Properties parameters) |
ConfigurableApplicationContext | initApplicationContext( ConfigurableApplicationContext applicationContext) Initializes the given ApplicationContext by registering this SpringContextBootstrappingInitializer as an ApplicationListener and registering a runtime shutdown hook. |
void | onApplicationEvent(ApplicationContextEvent event) Gets notified when the Spring ApplicationContext gets created and refreshed by GemFire, once the <initializer> block is processed and the SpringContextBootstrappingInitializer Declarable component is initialized. |
T | register(T listener) Registers a Spring ApplicationListener to be notified when the Spring ApplicationContext is created by GemFire when instantiating and initializing Declarables declared inside the <initializer> block inside Pivotal GemFire's cache.xml file. |
boolean | register(Class> annotatedClass) Registers the specified Spring annotated POJO class, which will be used to configure and initialize the Spring ApplicationContext. |
void | setBeanClassLoader(ClassLoader beanClassLoader) Sets the ClassLoader used by the Spring ApplicationContext, created by this Pivotal GemFire Initializer, when creating bean definition classes. |
T | unregister(T listener) Un-registers the Spring ApplicationListener from this SpringContextBootstrappingInitializer in order to stop receiving ApplicationEvents on Spring context refreshes. |
boolean | unregister(Class> annotatedClass) Un-registers the specified Spring annotated POJO class used to configure and initialize the Spring ApplicationContext. |