Win a copy of Java Database Connections & Transactions (e-book only) this week in the JDBC 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
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

What is the CacheDecoratorFactory used for, is it needed.  RSS feed

 
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
 
permaculture is largely about replacing oil with people. And one tiny ad:
how do I do my own kindle-like thing - without amazon
https://coderanch.com/t/711421/engineering/kindle-amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!