Commit 452ce0ff authored by Stephane Nicoll's avatar Stephane Nicoll

Polish

Add setter for cache names so that it can be bound both via indexed
access and comma-separated list.
parent ff637d3a
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment