Dashboard Builder Commons 6.0.0.Beta1

org.jboss.dashboard.database.cache
Class CacheConfigurationManager

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

public class CacheConfigurationManager
extends BasicFactoryElement

See Also:
Serialized Form

Constructor Summary
CacheConfigurationManager()
           
 
Method Summary
 boolean createCustomCacheRegion(String cacheRegionName)
          Create a custom cache region for an existing cache
 boolean freeAllCache()
          Clears all objects stored in the cache
 Properties getCacheConfigurationGenerators()
           
 CacheOptions getCacheOptions()
           
 CacheConfigurationGenerator getConfigGenerator()
           
 Properties getHibernateProperties()
           
 void initializeCaches()
          Starts the cache configuration
 void setCacheConfigurationGenerators(Properties cacheConfigurationGenerators)
           
 void setCacheOptions(CacheOptions cacheOptions)
           
 void setConfigGenerator(CacheConfigurationGenerator configGenerator)
           
 void setHibernateProperties(Properties hibernateProperties)
           
 
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

CacheConfigurationManager

public CacheConfigurationManager()
Method Detail

getConfigGenerator

public CacheConfigurationGenerator getConfigGenerator()

setConfigGenerator

public void setConfigGenerator(CacheConfigurationGenerator configGenerator)

getCacheConfigurationGenerators

public Properties getCacheConfigurationGenerators()

setCacheConfigurationGenerators

public void setCacheConfigurationGenerators(Properties cacheConfigurationGenerators)

getCacheOptions

public CacheOptions getCacheOptions()

setCacheOptions

public void setCacheOptions(CacheOptions cacheOptions)

getHibernateProperties

public Properties getHibernateProperties()

setHibernateProperties

public void setHibernateProperties(Properties hibernateProperties)

initializeCaches

public void initializeCaches()
Starts the cache configuration


createCustomCacheRegion

public boolean createCustomCacheRegion(String cacheRegionName)
Create a custom cache region for an existing cache

Parameters:
cacheRegionName - cache name to create
Returns:
true if the urnderlying cache supported cache creation

freeAllCache

public boolean freeAllCache()
Clears all objects stored in the cache

Returns:
true if it is supported

Dashboard Builder Commons 6.0.0.Beta1

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