All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hibernate.cache.infinispan.util.CacheCommandExtensions Maven / Gradle / Ivy

There is a newer version: 5.6.15.Final
Show newest version
package org.hibernate.cache.infinispan.util;

import org.infinispan.commands.module.ExtendedModuleCommandFactory;
import org.infinispan.commands.module.ModuleCommandExtensions;
import org.infinispan.commands.module.ModuleCommandInitializer;

/**
 * Command extensions for second-level cache use case
 *
 * @author Galder Zamarreño
 * @since 4.0
 */
public class CacheCommandExtensions implements ModuleCommandExtensions {

   final CacheCommandFactory cacheCommandFactory = new CacheCommandFactory();
   final CacheCommandInitializer cacheCommandInitializer = new CacheCommandInitializer();

   @Override
   public ExtendedModuleCommandFactory getModuleCommandFactory() {
      return cacheCommandFactory;
   }

   @Override
   public ModuleCommandInitializer getModuleCommandInitializer() {
      return cacheCommandInitializer;
   }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy