public class ContainerRemoteCacheManagerFactoryBean extends Object implements org.springframework.beans.factory.FactoryBean<org.springframework.cache.CacheManager>
FactoryBean
for creating a CacheManager
for a pre-defined org.infinispan.manager.CacheContainer
.
Useful when the cache container is defined outside the application (e.g. provided by the application server)Constructor and Description |
---|
ContainerRemoteCacheManagerFactoryBean(org.infinispan.client.hotrod.RemoteCacheManager cacheContainer) |
Modifier and Type | Method and Description |
---|---|
org.springframework.cache.CacheManager |
getObject() |
Class<?> |
getObjectType() |
boolean |
isSingleton() |
public ContainerRemoteCacheManagerFactoryBean(org.infinispan.client.hotrod.RemoteCacheManager 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.