Package org.jboss.as.clustering.web.infinispan

Examples of org.jboss.as.clustering.web.infinispan.DistributedCacheManagerFactory


                return null;
            }
        };
        final RegistryService<String, Void> registry = new RegistryService<String, Void>(provider);
        registry.getCacheInjector().inject(jvmRouteCache);
        DistributedCacheManagerFactory factory = new DistributedCacheManagerFactory();
        factory.getCacheContainerInjector().inject(cacheContainer);
        factory.getCacheConfigurationInjector().inject(jvmRouteCache.getCacheConfiguration());
        factory.getRegistryInjector().inject(registry);
        factory.getLockManagerInjector().inject(((ExtendedCacheManager) cacheContainer).getLockManager());
       
        Engine engine = new MockEngine();
        engine.setName("jboss.web");
        engine.setJvmRoute(jvmRoute);
        Host host = new MockHost();
View Full Code Here

TOP

Related Classes of org.jboss.as.clustering.web.infinispan.DistributedCacheManagerFactory

Copyright © 2018 www.massapicom. 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.