Win a copy of Event Streams in Action this week in the Java in General forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

What is the CacheDecoratorFactory used for, is it needed.

 
Ranch Hand
Posts: 632
1
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!