public class InternalCacheFactory<K,V> extends Object
DefaultCacheManager, this is
not intended as public API.
This is a special instance of a AbstractComponentFactory which contains bootstrap information for the ComponentRegistry.
| Constructor and Description |
|---|
InternalCacheFactory() |
| Modifier and Type | Method and Description |
|---|---|
Cache<K,V> |
createCache(Configuration configuration,
GlobalComponentRegistry globalComponentRegistry,
String cacheName)
This implementation clones the configuration passed in before using it.
|
public Cache<K,V> createCache(Configuration configuration, GlobalComponentRegistry globalComponentRegistry, String cacheName) throws CacheConfigurationException
configuration - to useglobalComponentRegistry - global component registry to attach the cache tocacheName - name of the cacheCacheConfigurationException - if there are problems with the cfgCopyright © 2022 JBoss by Red Hat. All rights reserved.