Пример #1
0
 public static void stopRegionFactory(
     InfinispanRegionFactory factory, CacheTestSupport testSupport) {
   testSupport.unregisterFactory(factory);
   factory.stop();
 }
 @BeforeTest
 public void prepareCacheManager() {
   cacheManager = CacheTestSupport.createTestCacheManager();
 }
Пример #3
0
 public static InfinispanRegionFactory startRegionFactory(
     ServiceRegistry serviceRegistry, CacheTestSupport testSupport) {
   InfinispanRegionFactory factory = startRegionFactory(serviceRegistry);
   testSupport.registerFactory(factory);
   return factory;
 }