Spring Data for VMware GemFire
Class PdxDiskStoreAwareBeanFactoryPostProcessor
java.lang.Object
org.springframework.data.gemfire.config.support.PdxDiskStoreAwareBeanFactoryPostProcessor
- All Implemented Interfaces:
org.springframework.beans.factory.config.BeanFactoryPostProcessor
public class PdxDiskStoreAwareBeanFactoryPostProcessor
extends Object
implements org.springframework.beans.factory.config.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.- Since:
- 1.3.3
- See Also:
-
BeanFactoryPostProcessorConfigurableListableBeanFactoryDiskStoreRegionAsyncEventQueue
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPdxDiskStoreAwareBeanFactoryPostProcessor(String pdxDiskStoreName) Constructs an instance of thePdxDiskStoreAwareBeanFactoryPostProcessorclass initialized with the given PDXDiskStorename. -
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the GemFire PDXDiskStore.voidpostProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
-
Field Details
-
EMPTY_STRING_ARRAY
-
-
Constructor Details
-
PdxDiskStoreAwareBeanFactoryPostProcessor
Constructs an instance of thePdxDiskStoreAwareBeanFactoryPostProcessorclass initialized with the given PDXDiskStorename.- Parameters:
pdxDiskStoreName- name of the GemFire PDXDiskStore.- Throws:
IllegalArgumentException- if the GemFire PDXDiskStorename is unspecified.
-
-
Method Details
-
getPdxDiskStoreName
Returns the name of the GemFire PDXDiskStore.- Returns:
- the name of the GemFire PDX
DiskStore.
-
postProcessBeanFactory
public void postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) throws org.springframework.beans.BeansException - Specified by:
postProcessBeanFactoryin interfaceorg.springframework.beans.factory.config.BeanFactoryPostProcessor- Throws:
org.springframework.beans.BeansException
-