Creating a Taxonomic e-Science

org.cateproject.view.mock
Class MockCacheProvider

java.lang.Object
  extended by org.cateproject.view.mock.MockCacheProvider
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean, org.springmodules.cache.provider.CacheProviderFacade

public class MockCacheProvider
extends Object
implements org.springmodules.cache.provider.CacheProviderFacade


Constructor Summary
MockCacheProvider()
           
 
Method Summary
 void afterPropertiesSet()
           
 void cancelCacheUpdate(Serializable arg0)
           
 void flushCache(org.springmodules.cache.FlushingModel arg0)
           
 PropertyEditor getCachingModelEditor()
           
 PropertyEditor getFlushingModelEditor()
           
 Object getFromCache(Serializable arg0, org.springmodules.cache.CachingModel arg1)
           
 boolean isFailQuietlyEnabled()
           
 org.springmodules.cache.provider.CacheModelValidator modelValidator()
           
 void putInCache(Serializable arg0, org.springmodules.cache.CachingModel arg1, Object arg2)
           
 void removeFromCache(Serializable arg0, org.springmodules.cache.CachingModel arg1)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockCacheProvider

public MockCacheProvider()
Method Detail

cancelCacheUpdate

public void cancelCacheUpdate(Serializable arg0)
                       throws org.springmodules.cache.CacheException
Specified by:
cancelCacheUpdate in interface org.springmodules.cache.provider.CacheProviderFacade
Throws:
org.springmodules.cache.CacheException

flushCache

public void flushCache(org.springmodules.cache.FlushingModel arg0)
                throws org.springmodules.cache.CacheException
Specified by:
flushCache in interface org.springmodules.cache.provider.CacheProviderFacade
Throws:
org.springmodules.cache.CacheException

getCachingModelEditor

public PropertyEditor getCachingModelEditor()
Specified by:
getCachingModelEditor in interface org.springmodules.cache.provider.CacheProviderFacade

getFlushingModelEditor

public PropertyEditor getFlushingModelEditor()
Specified by:
getFlushingModelEditor in interface org.springmodules.cache.provider.CacheProviderFacade

getFromCache

public Object getFromCache(Serializable arg0,
                           org.springmodules.cache.CachingModel arg1)
                    throws org.springmodules.cache.CacheException
Specified by:
getFromCache in interface org.springmodules.cache.provider.CacheProviderFacade
Throws:
org.springmodules.cache.CacheException

isFailQuietlyEnabled

public boolean isFailQuietlyEnabled()
Specified by:
isFailQuietlyEnabled in interface org.springmodules.cache.provider.CacheProviderFacade

modelValidator

public org.springmodules.cache.provider.CacheModelValidator modelValidator()
Specified by:
modelValidator in interface org.springmodules.cache.provider.CacheProviderFacade

putInCache

public void putInCache(Serializable arg0,
                       org.springmodules.cache.CachingModel arg1,
                       Object arg2)
                throws org.springmodules.cache.CacheException
Specified by:
putInCache in interface org.springmodules.cache.provider.CacheProviderFacade
Throws:
org.springmodules.cache.CacheException

removeFromCache

public void removeFromCache(Serializable arg0,
                            org.springmodules.cache.CachingModel arg1)
                     throws org.springmodules.cache.CacheException
Specified by:
removeFromCache in interface org.springmodules.cache.provider.CacheProviderFacade
Throws:
org.springmodules.cache.CacheException

afterPropertiesSet

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

Creating a Taxonomic e-Science

Copyright © 2010. All Rights Reserved.