Package org.springframework.data.gemfire

Examples of org.springframework.data.gemfire.RegionLookupFactoryBean


    Cache cache = context.getBean(Cache.class);
    Region existing = cache.createRegionFactory().create("existing");

    assertTrue(context.containsBean("lookup"));

    RegionLookupFactoryBean localRegionFactoryBean = context.getBean("&lookup", RegionLookupFactoryBean.class);

    assertEquals("existing", TestUtils.readField("name", localRegionFactoryBean));
    assertSame(existing, context.getBean("lookup"));
  }
View Full Code Here


    Cache cache = context.getBean(Cache.class);
    Region existing = cache.createRegionFactory().create("existing");

    assertTrue(context.containsBean("lookup"));

    RegionLookupFactoryBean regionLookupFactoryBean = context.getBean("&lookup", RegionLookupFactoryBean.class);

    assertNotNull(regionLookupFactoryBean);
    assertEquals("existing", TestUtils.readField("name", regionLookupFactoryBean));
    assertSame(existing, context.getBean("lookup"));
  }
View Full Code Here

TOP

Related Classes of org.springframework.data.gemfire.RegionLookupFactoryBean

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.