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 Details

    • EMPTY_STRING_ARRAY

      protected static final String[] EMPTY_STRING_ARRAY
  • Constructor Details

    • PdxDiskStoreAwareBeanFactoryPostProcessor

      public PdxDiskStoreAwareBeanFactoryPostProcessor(String pdxDiskStoreName)
      Constructs an instance of the PdxDiskStoreAwareBeanFactoryPostProcessor class initialized with the given PDX DiskStore name.
      Parameters:
      pdxDiskStoreName - name of the GemFire PDX DiskStore.
      Throws:
      IllegalArgumentException - if the GemFire PDX DiskStore name is unspecified.
  • Method Details

    • getPdxDiskStoreName

      public String getPdxDiskStoreName()
      Returns the name of the GemFire PDX DiskStore.
      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 interface org.springframework.beans.factory.config.BeanFactoryPostProcessor
      Throws:
      org.springframework.beans.BeansException