Package org.infinispan.spring.provider
Class ContainerRemoteCacheManagerFactoryBean
- java.lang.Object
-
- org.infinispan.spring.provider.ContainerRemoteCacheManagerFactoryBean
-
- All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean<org.springframework.cache.CacheManager>
public class ContainerRemoteCacheManagerFactoryBean extends Object implements org.springframework.beans.factory.FactoryBean<org.springframework.cache.CacheManager>
FactoryBeanfor creating aCacheManagerfor 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(org.infinispan.client.hotrod.RemoteCacheManager cacheContainer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.cache.CacheManagergetObject()Class<?>getObjectType()booleanisSingleton()
-
-
-
Method Detail
-
getObject
public org.springframework.cache.CacheManager getObject() throws Exception- Specified by:
getObjectin interfaceorg.springframework.beans.factory.FactoryBean<org.springframework.cache.CacheManager>- Throws:
Exception
-
getObjectType
public Class<?> getObjectType()
- Specified by:
getObjectTypein interfaceorg.springframework.beans.factory.FactoryBean<org.springframework.cache.CacheManager>
-
isSingleton
public boolean isSingleton()
- Specified by:
isSingletonin interfaceorg.springframework.beans.factory.FactoryBean<org.springframework.cache.CacheManager>
-
-