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

com.lordofthejars.nosqlunit.infinispan.EmbeddedInfinispanInstancesFactory Maven / Gradle / Ivy

There is a newer version: 1.0.0
Show newest version
package com.lordofthejars.nosqlunit.infinispan;

import org.infinispan.manager.EmbeddedCacheManager;

import com.lordofthejars.nosqlunit.util.EmbeddedInstances;

public class EmbeddedInfinispanInstancesFactory {

	private static EmbeddedInstances embeddedInstances;
	
	private EmbeddedInfinispanInstancesFactory() {
		super();
	}
	
	public synchronized static EmbeddedInstances getInstance() {
		if(embeddedInstances == null) {
			embeddedInstances = new EmbeddedInstances();
		}
		
		return embeddedInstances;
	}
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy