2 Replies Latest reply on Jun 30, 2011 4:47 AM by vinod mehta

    Access the Infinispan cache in multiple cache

    vinod mehta Newbie

      Hi All of you,

       

      HI friends i am coding one application and there i create the infinispan cache here i run server and that time i access all database in cache .

       

      here i want to know that how i can access the cache in multiple cache i create the cache at time of the server started.

       

      what i do

       

      public EmbeddedCacheManager manager;

      public Cache cache;

      manager=new DefaultCacheManager();

      cache=manager.getCache("infinispancache");

       

      this code is written in the server class. now there is another class which run in after some operation now i want to access the cache there but i fail what how to access is problem here? and what code write code there?....