Hi,
I am using Infinispan CDI in JBOSS IDE along with JBOSS AS6 server. Updated my maven we app beans.xml to support interceptors. But the annotation is not working.
@CachePut(cacheName = "CacheStore")
public static String toCelsiusFormatted(float fahrenheit) {
return NumberFormat.getInstance() .format((fahrenheit * 5 / 9) - 32)
+ " degrees Celsius";
}
This is the method for which i am using annotation. This @CachePut is not working so that data not being cached in CacheStore.