public class ContainerCacheManagerFactoryBean extends Object implements org.springframework.beans.factory.FactoryBean<org.springframework.cache.CacheManager>
FactoryBean
for creating a CacheManager
for a pre-defined CacheContainer
.
Useful when the cache container is defined outside the application (e.g. provided by the application server)Constructor and Description |
---|
ContainerCacheManagerFactoryBean(CacheContainer cacheContainer) |
Modifier and Type | Method and Description |
---|---|
org.springframework.cache.CacheManager |
getObject() |
Class<?> |
getObjectType() |
boolean |
isSingleton() |
public ContainerCacheManagerFactoryBean(CacheContainer cacheContainer)
public org.springframework.cache.CacheManager getObject() throws Exception
getObject
in interface org.springframework.beans.factory.FactoryBean<org.springframework.cache.CacheManager>
Exception
public Class<?> getObjectType()
getObjectType
in interface org.springframework.beans.factory.FactoryBean<org.springframework.cache.CacheManager>
public boolean isSingleton()
isSingleton
in interface org.springframework.beans.factory.FactoryBean<org.springframework.cache.CacheManager>
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.