public static class ExtensibleConfigurableCacheFactory.DefaultDependencies extends Object implements ExtensibleConfigurableCacheFactory.Dependencies
ExtensibleConfigurableCacheFactory.DefaultDependencies is a simple implementation of the ExtensibleConfigurableCacheFactory ExtensibleConfigurableCacheFactory.Dependencies interface.| Constructor and Description |
|---|
DefaultDependencies(CacheConfig cacheConfig)
Constructs a
ExtensibleConfigurableCacheFactory.DefaultDependencies with the Context ClassLoader being the ClassLoader of the CacheConfig instance and an empty ResourceRegistry. |
DefaultDependencies(CacheConfig cacheConfig, ClassLoader contextClassLoader, ResourceRegistry registry)
Constructs a
ExtensibleConfigurableCacheFactory.DefaultDependencies. |
| Modifier and Type | Method and Description |
|---|---|
CacheConfig |
getCacheConfig()
Obtains
CacheConfig for an ExtensibleConfigurableCacheFactory. |
ClassLoader |
getContextClassLoader()
Obtains the
ClassLoader than an ExtensibleConfigurableCacheFactory should use for loading classes. |
ResourceRegistry |
getResourceRegistry()
Obtains the
ResourceRegistry for an ExtensibleConfigurableCacheFactory. |
public DefaultDependencies(CacheConfig cacheConfig)
ExtensibleConfigurableCacheFactory.DefaultDependencies with the Context ClassLoader being the ClassLoader of the CacheConfig instance and an empty ResourceRegistry.cacheConfig - the CacheConfigpublic DefaultDependencies(CacheConfig cacheConfig, ClassLoader contextClassLoader, ResourceRegistry registry)
ExtensibleConfigurableCacheFactory.DefaultDependencies.cacheConfig - the CacheConfigcontextClassLoader - the ClassLoaderregistry - the ResourceRegistrypublic CacheConfig getCacheConfig()
CacheConfig for an ExtensibleConfigurableCacheFactory.getCacheConfig in interface ExtensibleConfigurableCacheFactory.DependenciesCacheConfigpublic ClassLoader getContextClassLoader()
ClassLoader than an ExtensibleConfigurableCacheFactory should use for loading classes.getContextClassLoader in interface ExtensibleConfigurableCacheFactory.DependenciesClassLoaderpublic ResourceRegistry getResourceRegistry()
ResourceRegistry for an ExtensibleConfigurableCacheFactory.getResourceRegistry in interface ExtensibleConfigurableCacheFactory.DependenciesResourceRegistry