public class CacheStoreFactoryRegistry extends Object
CacheStoreFactory
objects.Constructor and Description |
---|
CacheStoreFactoryRegistry() |
Modifier and Type | Method and Description |
---|---|
void |
addCacheStoreFactory(CacheStoreFactory cacheStoreFactory)
Adds a new factory for processing.
|
void |
clearFactories()
Removes all factories associated to this registry.
|
Object |
createInstance(StoreConfiguration storeConfiguration)
Creates new Object based on configuration.
|
StoreConfiguration |
processStoreConfiguration(StoreConfiguration storeConfiguration) |
public Object createInstance(StoreConfiguration storeConfiguration)
storeConfiguration
- Cache store configuration.CacheConfigurationException
- when the instance couldn't be created.public StoreConfiguration processStoreConfiguration(StoreConfiguration storeConfiguration)
public void addCacheStoreFactory(CacheStoreFactory cacheStoreFactory)
cacheStoreFactory
- Factory to be added.public void clearFactories()
Copyright © 2023 JBoss, a division of Red Hat. All rights reserved.