Class CacheStoreFactoryRegistry
- java.lang.Object
-
- org.infinispan.persistence.factory.CacheStoreFactoryRegistry
-
public class CacheStoreFactoryRegistry extends java.lang.ObjectRegistry for multipleCacheStoreFactoryobjects.- Since:
- 7.2
- Author:
- Sebastian Laskawiec
-
-
Constructor Summary
Constructors Constructor Description CacheStoreFactoryRegistry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddCacheStoreFactory(CacheStoreFactory cacheStoreFactory)Adds a new factory for processing.voidclearFactories()Removes all factories associated to this registry.java.lang.ObjectcreateInstance(StoreConfiguration storeConfiguration)Creates new Object based on configuration.StoreConfigurationprocessStoreConfiguration(StoreConfiguration storeConfiguration)
-
-
-
Method Detail
-
createInstance
public java.lang.Object createInstance(StoreConfiguration storeConfiguration)
Creates new Object based on configuration.- Parameters:
storeConfiguration- Cache store configuration.- Returns:
- Instance created based on the configuration.
- Throws:
CacheConfigurationException- when the instance couldn't be created.
-
processStoreConfiguration
public StoreConfiguration processStoreConfiguration(StoreConfiguration storeConfiguration)
-
addCacheStoreFactory
public void addCacheStoreFactory(CacheStoreFactory cacheStoreFactory)
Adds a new factory for processing.- Parameters:
cacheStoreFactory- Factory to be added.
-
clearFactories
public void clearFactories()
Removes all factories associated to this registry.
-
-