Class CacheStoreFactoryRegistry


  • public class CacheStoreFactoryRegistry
    extends java.lang.Object
    Registry for multiple CacheStoreFactory objects.
    Since:
    7.2
    Author:
    Sebastian Laskawiec
    • Constructor Detail

      • CacheStoreFactoryRegistry

        public CacheStoreFactoryRegistry()
    • 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.
      • 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.