public class ApplicationCacheManager extends Object implements org.springframework.cache.CacheManager, org.springframework.beans.factory.DisposableBean
CacheManager that is aware of Sites and Applications to avoid naming conflicts and also
ensure no other Application can access the Cache.Cache can be configured using the application property
.ApplicationProperties.PROP_CACHE_CONFIG| Constructor and Description |
|---|
ApplicationCacheManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
org.springframework.cache.Cache |
getCache(String name) |
Collection<String> |
getCacheNames() |
void |
initialize(Site site,
Application application,
org.springframework.cache.CacheManager delegate) |
public void initialize(Site site, Application application, org.springframework.cache.CacheManager delegate)
public org.springframework.cache.Cache getCache(String name)
getCache in interface org.springframework.cache.CacheManagerpublic Collection<String> getCacheNames()
getCacheNames in interface org.springframework.cache.CacheManagerCopyright © 2011–2020 aiticon GmbH. All rights reserved.