Java config equivalent of echcache.xml
Is there a sample Java Config for a standard ehcache 开发者_如何学PythonXML config file (ehcache.xml) . I am using Spring 3.1.
Take a look at the provided documentation, there are some good code snippets, too: http://www.ehcache.org/documentation/user-guide/configuration
Specifically: "Adding and Removing Caches Programmatically": http://www.ehcache.org/documentation/2.5/code-samples#adding-and-removing-caches-programmatically
精彩评论