package test.infinispan.custom; import org.infinispan.loaders.AbstractCacheStoreConfig; /** * Config for MongoDB cache store. * * @author Andrei Pushkin */ public class InfinispanMongoStoreConfig extends AbstractCacheStoreConfig { private String host; private int port; private String dbName; private String dbCollection; public String getHost() { return host; } public void setHost(String host) { this.host = host; } public int getPort() { return port; } public void setPort(int port) { this.port = port; } public String getDbName() { return dbName; } public void setDbName(String dbName) { this.dbName = dbName; } public String getDbCollection() { return dbCollection; } public void setDbCollection(String dbCollection) { this.dbCollection = dbCollection; } @Override public String getCacheLoaderClassName() { return InfinispanMongoStore.class.getName(); } }