> On Jun 30, 2016, at 9:23 PM, Andrus Adamchik <[email protected]> wrote: > > > Module m1 = (binder) -> binder.bind(QueryCache.class).toInstance(new > EhCacheQueryCache("name1")); > Module m2 = (binder) -> binder.bind(QueryCache.class).toInstance(new > EhCacheQueryCache("name2"));
Or rather
new EhCacheQueryCache(new CacheManager("name2"));
etc. Which of course is still pseudo code, as I have no idea whether you can
explicitly pass a name to CM.
Andrus
