Skip to content

Commit

Permalink
Support injecting default NamedCaffeineCache
Browse files Browse the repository at this point in the history
  • Loading branch information
mkurz committed Jun 19, 2020
1 parent 3c00b1c commit 5785c3a
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -96,6 +96,7 @@ class CaffeineCacheModule
Seq(
bind[CaffeineCacheManager].toProvider[CacheManagerProvider],
// alias the default cache to the unqualified implementation
bindDefault[NamedCaffeineCache[Any, Any]],
bindDefault[AsyncCacheApi],
bindDefault[JavaAsyncCacheApi],
bindDefault[SyncCacheApi],
Expand Down

0 comments on commit 5785c3a

Please sign in to comment.