Class ContainerEmbeddedCacheManagerFactoryBean
java.lang.Object
org.infinispan.spring.embedded.provider.ContainerEmbeddedCacheManagerFactoryBean
- All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean<org.springframework.cache.CacheManager>
public class ContainerEmbeddedCacheManagerFactoryBean
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)- Author:
- Marius Bogoevici
-
Field Summary
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
-
Constructor Summary
ConstructorDescriptionContainerEmbeddedCacheManagerFactoryBean
(EmbeddedCacheManager cacheContainer) -
Method Summary
-
Constructor Details
-
ContainerEmbeddedCacheManagerFactoryBean
-
-
Method Details
-
getObject
- Specified by:
getObject
in interfaceorg.springframework.beans.factory.FactoryBean<org.springframework.cache.CacheManager>
- Throws:
Exception
-
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>
-