public class PdxDiskStoreAwareBeanFactoryPostProcessor extends Object implements BeanFactoryPostProcessor
PdxDiskStoreAwareBeanFactoryPostProcessor
is a Spring BeanFactoryPostProcessor
that modifies
all GemFire Async Event Queue, Region and Disk Store beans in the Spring container to form a dependency on
the Cache's PDX DiskStore
bean.
A persistent Region may contain PDX typed data, in which case, the PDX type meta-data stored to disk needs to be
loaded before the Region having PDX data is loaded from disk.BeanFactoryPostProcessor
,
ConfigurableListableBeanFactory
,
DiskStore
,
Region
,
AsyncEventQueue
Modifier and Type | Field and Description |
---|---|
protected static String[] |
EMPTY_STRING_ARRAY |
Constructor and Description |
---|
PdxDiskStoreAwareBeanFactoryPostProcessor(String pdxDiskStoreName)
Constructs an instance of the
PdxDiskStoreAwareBeanFactoryPostProcessor class initialized with
the given PDX DiskStore name. |
Modifier and Type | Method and Description |
---|---|
String |
getPdxDiskStoreName()
Returns the name of the GemFire PDX
DiskStore . |
void |
postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory) |
protected static final String[] EMPTY_STRING_ARRAY
public PdxDiskStoreAwareBeanFactoryPostProcessor(String pdxDiskStoreName)
PdxDiskStoreAwareBeanFactoryPostProcessor
class initialized with
the given PDX DiskStore
name.pdxDiskStoreName
- name of the GemFire PDX DiskStore
.IllegalArgumentException
- if the GemFire PDX DiskStore
name is unspecified.public String getPdxDiskStoreName()
DiskStore
.DiskStore
.public void postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory) throws BeansException
postProcessBeanFactory
in interface BeanFactoryPostProcessor
BeansException
Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.