public class DefaultCacheManagerService extends Object implements CacheManagerService, Startable, Stoppable
Modifier and Type | Field and Description |
---|---|
static String |
CACHE_MANAGER_RESOURCE_PROP
Reuses the same JNDI name from the second level cache implementation
based on Infinispan
|
static String |
DEFAULT_INFINISPAN_CONFIGURATION_RESOURCENAME
If no configuration is defined an no JNDI lookup name is provided, than a new Infinispan CacheManager
will be started using this configuration.
|
static String |
INFINISPAN_CONFIGURATION_RESOURCENAME
The configuration property to use as key to define a custom configuration for Infinispan.
|
static String |
INFINISPAN_TRANSPORT_OVERRIDE_RESOURCENAME
Configuration property to replace the Transport configuration property in Infinispan with a different value, after the
configuration file was parsed.
|
Constructor and Description |
---|
DefaultCacheManagerService() |
Modifier and Type | Method and Description |
---|---|
org.infinispan.manager.EmbeddedCacheManager |
getEmbeddedCacheManager() |
void |
start(Properties properties,
BuildContext context) |
void |
stop() |
public static final String DEFAULT_INFINISPAN_CONFIGURATION_RESOURCENAME
public static final String CACHE_MANAGER_RESOURCE_PROP
org.hibernate.cache.infinispan.JndiInfinispanRegionFactory.CACHE_MANAGER_RESOURCE_PROP
,
Constant Field Valuespublic static final String INFINISPAN_CONFIGURATION_RESOURCENAME
public static final String INFINISPAN_TRANSPORT_OVERRIDE_RESOURCENAME
public void start(Properties properties, BuildContext context)
public org.infinispan.manager.EmbeddedCacheManager getEmbeddedCacheManager()
getEmbeddedCacheManager
in interface CacheManagerService
Copyright © 2006–2015 Hibernate. All rights reserved.