com.liferay.portal.cache
Class EhcachePortalCacheManager

java.lang.Object
  extended by com.liferay.portal.cache.EhcachePortalCacheManager
All Implemented Interfaces:
com.liferay.portal.kernel.cache.PortalCacheManager, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean

public class EhcachePortalCacheManager
extends java.lang.Object
implements org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean, com.liferay.portal.kernel.cache.PortalCacheManager

View Source

Author:
Joseph Shum, Raymond Augé, Michael C. Han

Constructor Summary
EhcachePortalCacheManager()
           
 
Method Summary
 void afterPropertiesSet()
           
 void clearAll()
           
 void destroy()
           
 com.liferay.portal.kernel.cache.PortalCache getCache(java.lang.String name)
           
 void setConfigPropertyKey(java.lang.String configPropertyKey)
           
 void setMBeanServer(javax.management.MBeanServer server)
           
 void setRegisterCacheConfigurations(boolean registerCacheConfigurations)
           
 void setRegisterCacheManager(boolean registerCacheManager)
           
 void setRegisterCaches(boolean registerCaches)
           
 void setRegisterCacheStatistics(boolean registerCacheStatistics)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EhcachePortalCacheManager

public EhcachePortalCacheManager()
Method Detail

afterPropertiesSet

public void afterPropertiesSet()
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean

clearAll

public void clearAll()
Specified by:
clearAll in interface com.liferay.portal.kernel.cache.PortalCacheManager

destroy

public void destroy()
             throws java.lang.Exception
Specified by:
destroy in interface org.springframework.beans.factory.DisposableBean
Throws:
java.lang.Exception

getCache

public com.liferay.portal.kernel.cache.PortalCache getCache(java.lang.String name)
Specified by:
getCache in interface com.liferay.portal.kernel.cache.PortalCacheManager

setConfigPropertyKey

public void setConfigPropertyKey(java.lang.String configPropertyKey)

setMBeanServer

public void setMBeanServer(javax.management.MBeanServer server)

setRegisterCacheConfigurations

public void setRegisterCacheConfigurations(boolean registerCacheConfigurations)

setRegisterCacheManager

public void setRegisterCacheManager(boolean registerCacheManager)

setRegisterCaches

public void setRegisterCaches(boolean registerCaches)

setRegisterCacheStatistics

public void setRegisterCacheStatistics(boolean registerCacheStatistics)