net.sf.ehcache.openjpa.datacache
Class EhCacheDataCacheManager

java.lang.Object
  extended by org.apache.openjpa.datacache.DataCacheManagerImpl
      extended by net.sf.ehcache.openjpa.datacache.EhCacheDataCacheManager
All Implemented Interfaces:
org.apache.openjpa.datacache.DataCacheManager, org.apache.openjpa.lib.util.Closeable

public class EhCacheDataCacheManager
extends org.apache.openjpa.datacache.DataCacheManagerImpl
implements org.apache.openjpa.datacache.DataCacheManager

Author:
Craig Andrews, Greg Luck

Constructor Summary
EhCacheDataCacheManager()
           
 
Method Summary
 org.apache.openjpa.datacache.DataCache getDataCache(java.lang.String name, boolean create)
           
 net.sf.ehcache.Ehcache getEhCache(java.lang.Class cls)
           
 EhCacheDataCache getSystemDataCache()
           
 
Methods inherited from class org.apache.openjpa.datacache.DataCacheManagerImpl
close, getDataCache, getDataCacheScheduler, getPCDataGenerator, getSystemQueryCache, initialize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.openjpa.datacache.DataCacheManager
close, getDataCache, getDataCacheScheduler, getPCDataGenerator, getSystemQueryCache, initialize
 

Constructor Detail

EhCacheDataCacheManager

public EhCacheDataCacheManager()
Method Detail

getDataCache

public org.apache.openjpa.datacache.DataCache getDataCache(java.lang.String name,
                                                           boolean create)
Specified by:
getDataCache in interface org.apache.openjpa.datacache.DataCacheManager
Overrides:
getDataCache in class org.apache.openjpa.datacache.DataCacheManagerImpl
Parameters:
name -
create -
Returns:

getSystemDataCache

public EhCacheDataCache getSystemDataCache()
Specified by:
getSystemDataCache in interface org.apache.openjpa.datacache.DataCacheManager
Overrides:
getSystemDataCache in class org.apache.openjpa.datacache.DataCacheManagerImpl
Returns:

getEhCache

public net.sf.ehcache.Ehcache getEhCache(java.lang.Class cls)
Parameters:
cls -
Returns:


Copyright © 2003-2009 Terracotta, Inc.. All Rights Reserved.