Dashboard Builder Commons 6.0.0.Beta1

org.jboss.dashboard.database.cache
Class CustomCacheConfigurationGenerator

java.lang.Object
  extended by org.jboss.dashboard.factory.BasicFactoryElement
      extended by org.jboss.dashboard.database.cache.CacheConfigurationGenerator
          extended by org.jboss.dashboard.database.cache.CustomCacheConfigurationGenerator
All Implemented Interfaces:
Serializable, FactoryLifecycle

public class CustomCacheConfigurationGenerator
extends CacheConfigurationGenerator

See Also:
Serialized Form

Constructor Summary
CustomCacheConfigurationGenerator()
           
 
Method Summary
 boolean createCustomCacheRegion(String cacheRegionName)
           
 boolean freeAllCache()
           
 String getCacheUsage()
          Determine the type of cache usage to use
 void initializeCacheConfig(CacheConfigurationManager cacheConfigurationManager)
          Create the cache configuration, either by generating an XML and placing it in the correct place or by programmatically configuring whatever is needed.
 void setCacheUsage(String cacheUsage)
           
 
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
 

Constructor Detail

CustomCacheConfigurationGenerator

public CustomCacheConfigurationGenerator()
Method Detail

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

Dashboard Builder Commons 6.0.0.Beta1

Copyright © 2012-2013 JBoss by Red Hat. All Rights Reserved.