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

org.infinispan.spring.common.config.InfinispanNamespaceHandler Maven / Gradle / Ivy

The newest version!
package org.infinispan.spring.common.config;

import org.springframework.beans.factory.xml.NamespaceHandlerSupport;

/**
 * {@link org.springframework.beans.factory.xml.NamespaceHandler} for Infinispan-based caches.
 *
 * @author Marius Bogoevici
 */
public class InfinispanNamespaceHandler extends NamespaceHandlerSupport {

   @Override
   public void init() {
      registerBeanDefinitionParser("embedded-cache-manager", new InfinispanEmbeddedCacheManagerBeanDefinitionParser());
      registerBeanDefinitionParser("remote-cache-manager", new InfinispanRemoteCacheManagerBeanDefinitionParser());
      registerBeanDefinitionParser("container-cache-manager", new InfinispanContainerCacheManagerBeanDefinitionParser());
   }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy