Adds a
Cache based on the default cache parameters with the given name.
Memory and Disk stores will be configured for it and it will be added
to the map of caches.
Also notifies the CacheManagerListener after the cache was initialised and added.
It will be created with the defaultCache attributes specified in ehcache.xml
Parameters: cacheName - the name for the cache throws: CacheException - if there was an error creating the cache, for example because the cache already exists |