Add setter for cache names so that it can be bound both via indexed
access and comma-separated list.
pull/2809/head
Stephane Nicoll 10 years ago
parent ff637d3aaa
commit 452ce0ffad

@ -47,7 +47,7 @@ public class CacheProperties {
* Comma-separated list of cache names to create if supported by the underlying cache
* manager. Usually, this disables the ability to create additional caches on-the-fly.
*/
private final List<String> cacheNames = new ArrayList<String>();
private List<String> cacheNames = new ArrayList<String>();
private final JCache jcache = new JCache();
@ -73,6 +73,10 @@ public class CacheProperties {
return this.cacheNames;
}
public void setCacheNames(List<String> cacheNames) {
this.cacheNames = cacheNames;
}
public JCache getJcache() {
return this.jcache;
}

Loading…
Cancel
Save