
Originally Posted by
jgoodwin
Hi,
Would you be willing to post an example Spring configuration for your code?
It is meant to replace the cache provider facade bean. If you look at the spring-modules documentation for ehcache, you'll see something like that:
HTML Code:
<bean id="cacheProviderFacade"
class="org.springmodules.cache.provider.ehcache.EhCacheFacade">
<property name="cacheManager" ref="cacheManager"/>
<property name="failQuietlyEnabled" value="true"/>
</bean>
simply replace it with:
HTML Code:
<bean id="cacheProviderFacade" class="com.bestcrosswords.ui.springmodules.caching.httpsession.HttpSessionCacheProviderFacade" >
<property name="failQuietlyEnabled" value="true"/>
</bean>
Then you can use the cache provider facade bean as you would if it were an ehcache facade.
Ciao
JPB