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:
-
BeanFactoryPostProcessor
ConfigurableListableBeanFactory
DiskStore
Region
AsyncEventQueue
-
Field Summary
-
Constructor Summary
ConstructorDescriptionPdxDiskStoreAwareBeanFactoryPostProcessor
(String pdxDiskStoreName) Constructs an instance of thePdxDiskStoreAwareBeanFactoryPostProcessor
class initialized with the given PDXDiskStore
name. -
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the GemFire PDXDiskStore
.void
postProcessBeanFactory
(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
-
Field Details
-
EMPTY_STRING_ARRAY
-
-
Constructor Details
-
PdxDiskStoreAwareBeanFactoryPostProcessor
Constructs an instance of thePdxDiskStoreAwareBeanFactoryPostProcessor
class initialized with the given PDXDiskStore
name.- Parameters:
pdxDiskStoreName
- name of the GemFire PDXDiskStore
.- Throws:
IllegalArgumentException
- if the GemFire PDXDiskStore
name 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:
postProcessBeanFactory
in interfaceorg.springframework.beans.factory.config.BeanFactoryPostProcessor
- Throws:
org.springframework.beans.BeansException
-