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) |
public ContainerCacheManagerFactoryBean(CacheContainer cacheContainer)
public org.springframework.cache.CacheManager getObject()
throws Exception
getObject in interface org.springframework.beans.factory.FactoryBean<org.springframework.cache.CacheManager>Exceptionpublic 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 © 2017 JBoss, a division of Red Hat. All Rights Reserved.