Class ContainerRemoteCacheManagerFactoryBean
- java.lang.Object
-
- org.infinispan.spring.remote.provider.ContainerRemoteCacheManagerFactoryBean
-
- All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean<org.springframework.cache.CacheManager>
public class ContainerRemoteCacheManagerFactoryBean extends java.lang.Object implements org.springframework.beans.factory.FactoryBean<org.springframework.cache.CacheManager>
FactoryBean
for creating aCacheManager
for a pre-definedCacheContainer
. Useful when the cache container is defined outside the application (e.g. provided by the application server)- Author:
- Marius Bogoevici
-
-
Constructor Summary
Constructors Constructor Description ContainerRemoteCacheManagerFactoryBean(RemoteCacheManager cacheContainer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.cache.CacheManager
getObject()
java.lang.Class<?>
getObjectType()
boolean
isSingleton()
-
-
-
Constructor Detail
-
ContainerRemoteCacheManagerFactoryBean
public ContainerRemoteCacheManagerFactoryBean(RemoteCacheManager cacheContainer)
-
-
Method Detail
-
getObject
public org.springframework.cache.CacheManager getObject() throws java.lang.Exception
- Specified by:
getObject
in interfaceorg.springframework.beans.factory.FactoryBean<org.springframework.cache.CacheManager>
- Throws:
java.lang.Exception
-
getObjectType
public java.lang.Class<?> getObjectType()
- Specified by:
getObjectType
in interfaceorg.springframework.beans.factory.FactoryBean<org.springframework.cache.CacheManager>
-
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton
in interfaceorg.springframework.beans.factory.FactoryBean<org.springframework.cache.CacheManager>
-
-