0 Replies Latest reply on Nov 22, 2012 6:59 AM by Pratap V

    Annotations not working in InfiniSpan CDI

    Pratap V Newbie



               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.