lundi 13 février 2017

Programmatically create EHCACHE self populating caches on startup

When the application starts I want to create EhCache Manager and automatically assigning available CacheEntryFactories to cache regions for self-population.

So the operative sequence is:

  1. Locate ehcache.xml configuration
  2. Create CacheManager instance
  3. Detect CacheEntryFactories that could be assigned
  4. Create and replace selfPopulatingCaches using those factories




Aucun commentaire:

Enregistrer un commentaire