Help coderanch get a
new server
by contributing to the fundraiser
  • 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
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic