Examples of converterFactory()


Examples of org.infinispan.server.hotrod.configuration.HotRodServerConfigurationBuilder.converterFactory()

   TestConverterFactory converterFactory = new TestConverterFactory();

   @Override
   protected HotRodServer createHotRodServer() {
      HotRodServerConfigurationBuilder builder = new HotRodServerConfigurationBuilder();
      builder.converterFactory("test-converter-factory", converterFactory);
      return TestHelper.startHotRodServer(cacheManager, builder);
   }

   public void testCustomEvents() {
      final CustomEventListener eventListener = new CustomEventListener();
View Full Code Here

Examples of org.infinispan.server.hotrod.configuration.HotRodServerConfigurationBuilder.converterFactory()

      EmbeddedCacheManager cm = addClusterEnabledCacheManager(builder);
      HotRodServerConfigurationBuilder serverBuilder = new HotRodServerConfigurationBuilder();
      filters.add(new TestKeyValueFilterFactory());
      serverBuilder.keyValueFilterFactory("test-filter-factory", filters.get(0));
      converters.add(new TestConverterFactory());
      serverBuilder.converterFactory("test-converter-factory", converters.get(0));
      HotRodServer server = TestHelper.startHotRodServer(cm, serverBuilder);
      servers.add(server);
      return server;
   }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.