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 |
---|---|
EmbeddedCacheManager |
getEmbeddedCacheManager() |
void |
start(Properties properties,
BuildContext context)
Start phase notification.
|
void |
stop()
Stop phase notification
|
public static final String DEFAULT_INFINISPAN_CONFIGURATION_RESOURCENAME
public static final String CACHE_MANAGER_RESOURCE_PROP
public static final String INFINISPAN_CONFIGURATION_RESOURCENAME
public static final String INFINISPAN_TRANSPORT_OVERRIDE_RESOURCENAME
public void start(Properties properties, BuildContext context)
Startable
public EmbeddedCacheManager getEmbeddedCacheManager()
getEmbeddedCacheManager
in interface CacheManagerService
Copyright © 2006-2015 Red Hat, Inc. All Rights Reserved