• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Tim Cooke
  • Bear Bibeault
  • paul wheaton
Saloon Keepers:
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Mikalai Zaikin
  • Piet Souris
Bartenders:

What is the CacheDecoratorFactory used for, is it needed.

 
Ranch Hand
Posts: 681
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi I have a Entity, I have configured as a cache Fund


I didnt want to create a cache fund, as I have nore entities to add so set up the default in my ehCache.xml



This outputted the debug message


I have no idea what this message means, but I assumed that skipping for fund, means its not being added to the CacheManager, sp i created an concrete object that extends CacheDecoratorFactory


cache returns


But properties is set to null.

So I took a guess and added Fund to the properties


And got the following error


So now I have got to the point where I am confused. I have a feeling, I dont need a CacheDecoratorFactory,  to set up the fund cache, so I am not sure what the original debug  message skipping for fund means.

Thanks for any help. Tony
 
I'm still in control here. LOOK at this tiny ad!
Low Tech Laboratory
https://www.kickstarter.com/projects/paulwheaton/low-tech-0
reply
    Bookmark Topic Watch Topic
  • New Topic