org.xwiki.cache.jbosscache.internal
Class JBossCacheCacheConfiguration
java.lang.Object
org.xwiki.cache.util.AbstractCacheConfigurationLoader
org.xwiki.cache.jbosscache.internal.JBossCacheCacheConfiguration
public class JBossCacheCacheConfiguration
- extends AbstractCacheConfigurationLoader
Convert XWiki cache configuration into JBossCache configuration.
- Version:
- $Id$
|
Field Summary |
static java.lang.String |
CONFX_EVICTION_WAKEUPINTERVAL
The name of the field containing the wakeup interval to set to EvictionConfig. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONFX_EVICTION_WAKEUPINTERVAL
public static final java.lang.String CONFX_EVICTION_WAKEUPINTERVAL
- The name of the field containing the wakeup interval to set to
EvictionConfig.
- See Also:
- Constant Field Values
JBossCacheCacheConfiguration
public JBossCacheCacheConfiguration(Container container,
CacheConfiguration configuration,
java.lang.String defaultPropsId)
- Parameters:
container - the container used to access configuration files, can be null if there's no containerconfiguration - the XWiki cache API configuration.defaultPropsId - the default configuration identifier used to load cache configuration file.
getJBossCacheConfiguration
public org.jboss.cache.config.Configuration getJBossCacheConfiguration()
- Returns:
- the JBossCache configuration.
getDefaultConfig
protected org.jboss.cache.config.Configuration getDefaultConfig()
- Returns:
- the default JBossCache configuration.
Copyright © 2004-2011 XWiki. All Rights Reserved.