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

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

There is a newer version: 14.0.32.Final
Show 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