public class CreateDefinedIndexesApplicationListener extends Object implements ApplicationListener<ContextRefreshedEvent>
ApplicationListener,
ContextRefreshedEvent,
QueryService| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.logging.Log |
logger |
| Constructor and Description |
|---|
CreateDefinedIndexesApplicationListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
onApplicationEvent(ContextRefreshedEvent event)
Attempts to create all defined Indexes using the QueryService, defineXXXX(..)
|
public CreateDefinedIndexesApplicationListener()
public void onApplicationEvent(ContextRefreshedEvent event)
onApplicationEvent in interface ApplicationListener<ContextRefreshedEvent>event - the ContextRefreshedEvent fired when the Spring ApplicationContext gets refreshed.#getCache(org.springframework.context.event.ContextRefreshedEvent),
ContextRefreshedEvent,
RegionService.getQueryService(),
ClientCache.getLocalQueryService(),
QueryService.createDefinedIndexes()Copyright © 2011-2015–2016 Pivotal Software, Inc.. All rights reserved.