org.hibernate.ogm.datastore.infinispan.InfinispanProperties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate-ogm-infinispan-embedded Show documentation
Show all versions of hibernate-ogm-infinispan-embedded Show documentation
Persist objects in Infinispan Embedded
/*
* Hibernate OGM, Domain model persistence for NoSQL datastores
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later
* See the lgpl.txt file in the root directory or .
*/
package org.hibernate.ogm.datastore.infinispan;
import org.hibernate.boot.registry.StandardServiceRegistryBuilder;
import org.hibernate.ogm.datastore.keyvalue.cfg.KeyValueStoreProperties;
/**
* Properties for configuring the Infinispan datastore via {@code persistence.xml} or
* {@link StandardServiceRegistryBuilder}.
*
* @author Guillaume Scheibel <[email protected]>
* @author Gunnar Morling
*/
public final class InfinispanProperties implements KeyValueStoreProperties {
/**
* The configuration property to use as key to define a custom configuration for Infinispan.
*/
public static final String CONFIGURATION_RESOURCE_NAME = "hibernate.ogm.infinispan.configuration_resource_name";
/**
* The key for the configuration property to define the JNDI name of the cache manager. If this property is defined,
* the cache manager will be looked up via JNDI. JNDI properties passed in the form hibernate.jndi.* are
* used to define the context properties.
*/
public static final String CACHE_MANAGER_JNDI_NAME = "hibernate.ogm.infinispan.cachemanager_jndi_name";
private InfinispanProperties() {
}
}