scwanglijun / ehcache-spring-annotations

Automatically exported from code.google.com/p/ehcache-spring-annotations
0 stars 1 forks source link

is @cacheable supported in spring 2.5 with ehcache 2.4.7 #99

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Create cache with 
@Cacheable(cacheName="somecache",decoratedCacheType=DecoratedCacheType.REFRESHIN
G_SELF_POPULATING_CACHE,refreshInterval=360) above a method
2.cache is created on first call with postconstruct
3.Cache never refresh after 360 seconds

What is the expected output? What do you see instead?

cache is returned as null

What version of the product are you using? On what operating system?

spring 2.5 and ehcache 2.4.7 and spring-annotation 1.2.0 on windows and solaris

Please provide any additional information below

Is spring-annotation 1.2.0 is supported for only spring 3.0 and above versions? 
I want to use cacheable annotation auto refresh feature with spring 2.5. Please 
let me know the steps and jars download  that has to be done.

Original issue reported on code.google.com by sharipra...@gmail.com on 11 Jul 2012 at 2:24