org.jboss.dashboard.database.cache
Class CustomCacheConfigurationGenerator
java.lang.Object
org.jboss.dashboard.factory.BasicFactoryElement
org.jboss.dashboard.database.cache.CacheConfigurationGenerator
org.jboss.dashboard.database.cache.CustomCacheConfigurationGenerator
- All Implemented Interfaces:
- Serializable, FactoryLifecycle
public class CustomCacheConfigurationGenerator
- extends CacheConfigurationGenerator
- See Also:
- Serialized Form
| Methods inherited from class org.jboss.dashboard.factory.BasicFactoryElement |
addPeriodicTask, addPeriodicTask, factoryLookup, getComponentAlias, getComponentDescription, getComponentName, getComponentScope, init, setComponentAlias, shutdown, start, stop |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CustomCacheConfigurationGenerator
public CustomCacheConfigurationGenerator()
initializeCacheConfig
public void initializeCacheConfig(CacheConfigurationManager cacheConfigurationManager)
- Description copied from class:
CacheConfigurationGenerator
- Create the cache configuration, either by generating an XML and placing it in the correct place or
by programmatically configuring whatever is needed.
- Specified by:
initializeCacheConfig in class CacheConfigurationGenerator
- Parameters:
cacheConfigurationManager - The generic configuration manager where detailed cache options might be configured.
getCacheUsage
public String getCacheUsage()
- Description copied from class:
CacheConfigurationGenerator
- Determine the type of cache usage to use
- Specified by:
getCacheUsage in class CacheConfigurationGenerator
- Returns:
setCacheUsage
public void setCacheUsage(String cacheUsage)
createCustomCacheRegion
public boolean createCustomCacheRegion(String cacheRegionName)
- Overrides:
createCustomCacheRegion in class CacheConfigurationGenerator
freeAllCache
public boolean freeAllCache()
- Overrides:
freeAllCache in class CacheConfigurationGenerator
Copyright © 2012-2013 JBoss by Red Hat. All Rights Reserved.