Package org.springframework.data.gemfire

Examples of org.springframework.data.gemfire.CacheFactoryBean$DynamicRegionSupport


    assertEquals("pdxStore", postProcessor.getPdxDiskStoreName());
  }

  @Test
  public void testCachePdxConfiguration() {
    final CacheFactoryBean cacheFactoryBean = context.getBean("&gemfireCache", CacheFactoryBean.class);

    assertNotNull(cacheFactoryBean);
    assertEquals("pdxStore", cacheFactoryBean.getPdxDiskStoreName());
    assertTrue(Boolean.TRUE.equals(cacheFactoryBean.getPdxPersistent()));
    assertTrue(Boolean.TRUE.equals(cacheFactoryBean.getPdxReadSerialized()));

    final PdxSerializer autoSerializer = context.getBean("autoSerializer", PdxSerializer.class);

    assertNotNull(autoSerializer);
    assertSame(autoSerializer, cacheFactoryBean.getPdxSerializer());
  }
View Full Code Here

TOP

Related Classes of org.springframework.data.gemfire.CacheFactoryBean$DynamicRegionSupport

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.